在此人使用 tinymce 提交表单后,tinymce 是否有可能不返回任何 HTML,而是返回 bbcode 类型标签?即[blah][/blah]等?
问问题
1292 次
1 回答
4
是的,它有一个捆绑插件。
tinyMCE.init({
theme : "advanced",
mode : "textareas",
plugins : "bbcode",
theme_advanced_buttons1 : "bold,italic,undo,redo,link,unlink,image,cleanup",
theme_advanced_buttons2 : "",
theme_advanced_buttons3 : "",
theme_advanced_toolbar_location : "bottom",
theme_advanced_toolbar_align : "center",
theme_advanced_styles : "Code=codeStyle;Quote=quoteStyle",
content_css : "bbcode.css",
entity_encoding : "raw",
add_unload_trigger : false,
remove_linebreaks : false
});
于 2009-07-18T20:52:59.590 回答