Developer forum

Forum » Development » Disable HTML encoding in FCK editor

Disable HTML encoding in FCK editor


Reply
Hey
Is it possible to disable HTML encoding in FCK editor? If so how is it done?

Replies

 
Nicolai Høeg Pedersen
Reply
Dynamicweb does not have a setting for it, but fck editor probably have... Overwriting this setting would probably do the trick, but would be overwritten with the next software upgrade.

I've added the option as a feature request so it can be managed from management center.

May I ask why it should not be encoded?
 
Reply

I am using the module "Data Lists" for publishing XML content to a Flash site. That works like a charm, but text which have been edited with the editor is htmlencoded and it is being htmlencoded again by the page /Admin/Public/DataManagement/PublishingOutput.aspx. So we ended up with text which was htmlencoded twice!

btw do you know where to turn the htmlending off in the fck editor? I know that doing so would probably be overwritten by an upgrade. But we would handle that manually.
 

 
Nicolai Høeg Pedersen
Reply
Well - the data is html encoded first, and then xml encoded. That is how it should be.

If you use a xml object to read the xml the xml should be decoded by the object, and then you have to htmldecode your self. It could be a matter of enabling/disabling output encoding in your xslt if you are using that.

You can find the documentation of the editor here:
http://docs.cksource.com/FCKeditor_2.x/Developers_Guide/Configuration/Configuration_Options

It should be there somewhere.

 

You must be logged in to post in the forum