CKEDITOR - 关闭html编码 [英] CKEDITOR - turn off html encoding

查看:89
本文介绍了CKEDITOR - 关闭html编码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的CKEDITOR中,当我输入以下字母时:

In my CKEDITOR, when I type following letters:

ó " ... whitespace and more

我收到以下HTML:

I am getting the following HTML:

ó „ …   and so on...

如何关闭此功能,以便服务器能够收到普通字母?

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

推荐答案

设法减少转换字符的数量,将它添加到我的配置文件中:

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

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

但是空格仍然被转换为& nbsp; ...

But whitespaces are still being converted into  ...

这篇关于CKEDITOR - 关闭html编码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆