Hey
Is it possible to disable HTML encoding in FCK editor? If so how is it done?
Developer forum
E-mail notifications
Disable HTML encoding in FCK editor
Posted on 04/02/2011 13:53:00
Replies
Nicolai Høeg Pedersen
Posted on 05/02/2011 17:37:12
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?
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?
Posted on 08/02/2011 14:09:04
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
Posted on 08/02/2011 14:58:27
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.
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