PermaLink FCKEditor on local01/02/2006 01:38 PM

I keep my cache settings very low (check for new version on every visit) when Im doing web development, so, when I create a story in my blogsphere environment using the same browser that Im developing in, it takes a few seconds to prepare the FCKEditor, and the icons pop in one by one.  I can only imagine what this is like without a 15mbps fiber connection in the house.

I've been thinking it through about how speed up the process, my first step was to point my fckedit related settings at my local hard drive (specically the JS line and the basepath)

Internet explorer ran it, then croaked later, firefox would not even concider it.  I suspect that the only reason that IE ran it was because of my security settings (I have relaxed them a bit on my dev machine)

So, that didn't work, I kept on looking.   I searched through the JS of FCKEdit and found where it built the IMG tags, there it is, the "SkinPath"

So, I added this line in my JSHeader

 oFCKeditor.Config.SkinPath = file:///C:/temp/FCKeditor/editor/skins/default/

For those using the standard blogsphere template, that would be in the HTML Head section.

and it worked!

Next step is to figure out how to programatically check where to get the skins.

Thoughts?


Comments :v

No documents found

Add Manual Trackback
Please enter the details of the trackback post. Your trackback will not appear on the site until it has been verified. This won't be immediate, as trackbacks are validated on a scheduled basis. Be patient.











Powered By :

BlogSphere

Join The WebLog Revolution at BlogSphere.net

Dwight Pic
Hot Links
These are my heavy hitters
MSDN DHTML Objects
MSDN JScript

Contact Me
Left Block 3
Monthly Archive
Todays Referrers
No Referrals
RSS News Feed RSS Comments Feed Geo URL Blog Admin OpenNTF BlogSphere