Php tinyMCE自动解析链接
我使用tinyMCE,比如:Php tinyMCE自动解析链接,php,tinymce,Php,Tinymce,我使用tinyMCE,比如: $usetinymce="tinyMCE.init({ entity_encoding : \"raw\", elements : \"text,newstext\", mode : \"exact\", theme: \"advanced\", theme_advanced_buttons1 : \"bold,italic,underline,strikethrough,separator,\" + \"justif
$usetinymce="tinyMCE.init({
entity_encoding : \"raw\",
elements : \"text,newstext\",
mode : \"exact\",
theme: \"advanced\",
theme_advanced_buttons1 : \"bold,italic,underline,strikethrough,separator,\"
+ \"justifyleft,justifycenter,justifyright,justifyfull,formatselect,\"
+ \"bullist,numlist,outdent,indent\",
theme_advanced_buttons2 : \"link,unlink,anchor,image,separator,\"
+\"undo,redo,cleanup,code,separator,sub,sup,charmap\",
theme_advanced_buttons3 : \"\"
});";
如果我插入一个链接,它会显示为:
http://www.111.gr/\“>www.111.gr/
这个额外的\是如何添加的?我还打印了一张($\u POST)并且仍然出现
任何帮助您都可以尝试将
convert\u url:false
添加到init函数中
如果您发布您正在使用的TinyMCE版本,这会有所帮助。这对我来说很有效,TinyMCE会自动将localhost替换为../,谢谢您的提示。