【发布时间】:2011-06-15 01:20:47
【问题描述】:
下面是我加载 tinymce 的脚本。
<script type="text/javascript" src="../tinymce/jscripts/tiny_mce/tiny_mce.js"></script>
<script type="text/javascript" language="javascript">
tinyMCE.init({
mode: "textareas",
theme: "advanced",
plugins : "code,table",
// Theme options - button# indicated the row# only
theme_advanced_buttons1: "bold,italic,underline,|,justifyleft,justifycenter,justifyright,fontselect,fontsizeselect,|,bullist,numlist,|,link,unlink,anchor,image,tablecontrols,|,forecolor,backcolor,|,sub,sup,|,code",
theme_advanced_buttons2: "",
theme_advanced_buttons3: "",
theme_advanced_font_sizes: "12px,13px,14px,16px,18px,20px",
theme_advanced_toolbar_location: "top",
theme_advanced_toolbar_align: "left",
theme_advanced_resizing: true
});
</script>
它在 Firefox 中不起作用,但在 IE 中起作用。 在 IE > 开发者工具中,我在 head 部分看到了这个链接
<link href="http://www.xyz.com/tinymce/jscripts/tiny_mce/themes/advanced/skins/default/ui.css" rel="stylesheet"/>
但在 Firefox 中,使用 Firebug > NET > 我在
处看到 404 错误(红线)http://www.xyz.com/tinymce/jscripts/tiny_mce/plugins/code/editor_plugin.js
我没有在 tinymce/jscripts/tiny_mce/plugins/ 文件夹下找到 code 文件夹。
非常感谢任何帮助。
谢谢。
【问题讨论】: