【问题标题】:tinyMCE automatically parses linkstinyMCE 自动解析链接
【发布时间】:2010-06-14 12:26:13
【问题描述】:

我像这样使用 tinyMCE:

$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/

这个额外的\是如何添加的?我也做了一个 print_r($_POST) 并且仍然出现。

任何帮助

【问题讨论】:

    标签: php tinymce


    【解决方案1】:

    您可以尝试将convert_urls : false 添加到您的初始化函数中。

    如果您发布您正在使用的 TinyMCE 版本,将会有所帮助。

    【讨论】:

    • 这对我有用,tinyMCE 会自动将 localhost 替换为 ../,感谢您的提示。
    猜你喜欢
    • 2011-09-10
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-05-30
    • 2015-01-08
    • 1970-01-01
    • 1970-01-01
    • 2013-05-11
    相关资源
    最近更新 更多