开发者

Turn Off CKEditor's Auto Correct Settings

开发者 https://www.devze.com 2023-04-07 07:17 出处:网络
Does anybody know of a way to turn off CKEditor\'s HTML tidying function? I know CKEditor has some pretty strict HTML rewriting rules in place, but I am wondering if there is a way to control those so

Does anybody know of a way to turn off CKEditor's HTML tidying function? I know CKEditor has some pretty strict HTML rewriting rules in place, but I am wondering if there is a way to control those so pages being edited don't get messed up when the HTML does not follow CKEditor's concept of valid code?

Is there a plug开发者_Go百科in to help, maybe, that can help to add exceptions?


You can use the config.allowedContent in your config.js file like this:

config.allowedContent = true;

Check documentation

0

精彩评论

暂无评论...
验证码 换一张
取 消