tinyMCE自动解析链接

时间:2010-06-14 12:26:13

标签: php tinymce

我使用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)并且仍然出现。

任何帮助

1 个答案:

答案 0 :(得分:2)

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

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