Skip to content Skip to sidebar Skip to footer

Add Class Or ID To FCKeditor's Editable Iframe Body

I'm using FCKeditor to edit the contents of a div. This content div has an ID set so my CSS can target the p, li, img, etc tags contained. I want the FCKeditor's contents to look t

Solution 1:

There is no need for a plugin. Find these lines in FCKedotor's confing file, fckconfig,js

// This will be applied to the body element of the editor
FCKConfig.BodyId = '' ;
FCKConfig.BodyClass = '' ;

and change empty body id to whatever you need.


Post a Comment for "Add Class Or ID To FCKeditor's Editable Iframe Body"