CKEDITOR - turn off html encoding

百般思念 提交于 2019-11-28 07:16:17

问题


In my CKEDITOR, when I type following letters:

ó " ... whitespace and more

I am getting the following HTML:

ó „ …   and so on...

How can I turn this off, so that the server will receive "normal" letters?


回答1:


I managed to reduce the number of characters converted by adding this to my config file:

config.htmlEncodeOutput = false;
config.entities = false;

But whitespaces are still being converted into  ...



来源:https://stackoverflow.com/questions/20645750/ckeditor-turn-off-html-encoding

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!