简体   繁体   English

如何在TinyMce编辑器中更改双引号(“)到”?

[英]How to change Double Quote(") to " in TinyMce Editor?

I am using TinyMce Editor , I am having an issue whenever i am using double quotes it breaks my code because In the HTML source of TinyMce it shows " where it should show the &quot in the source , that means it is not converting " to " like it does for & to &amp 我正在使用TinyMce编辑器,每当我使用双引号时我都会遇到问题它会破坏我的代码,因为在TinyMce的HTML源代码中它显示“它应该在源中显示”,这意味着它不会转换为“就像它为&和

I would like to know , how to covert the " to &quot when i am clicking on the HTML source link. 我想知道,当我点击HTML源链接时,如何隐藏“to”。

TinyMCE likes to clean & format things for you. TinyMCE喜欢为您清理和格式化物品。 The behavior you are describing could be the result of TinyMCE's "entity_encoding" or "cleanup" options. 您描述的行为可能是TinyMCE的“entity_encoding”或“cleanup”选项的结果。

http://www.tinymce.com/wiki.php/Configuration:entity_encoding http://www.tinymce.com/wiki.php/Configuration:entity_encoding

http://www.tinymce.com/wiki.php/Configuration:cleanup http://www.tinymce.com/wiki.php/Configuration:cleanup

My bet would be that you want to change the "entity_encoding" property to "named" or "raw" depending on what you are trying to accomplish. 我打赌你想要将“entity_encoding”属性更改为“named”或“raw”,具体取决于你要完成的任务。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM