IE无法显示tinymce图标

时间:2010-06-23 09:02:28

标签: javascript internet-explorer tinymce

我的代码无法显示tinymce图标......下面是我的代码

tinymceSettings: {
        theme : "advanced",
        tinymcePlugins: "style,paste,directionality,advimage,advlink",
        theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,|,fontselect,fontsizeselect,|,bullist,numlist,|,outdent,indent,|,undo,redo,|,forecolor,backcolor",
    theme_advanced_buttons2 : "",
        theme_advanced_buttons3 : "",
        theme_advanced_toolbar_location : "top",
        theme_advanced_toolbar_align : "left"
        //theme_advanced_statusbar_location : "bottom"
    extended_valid_elements :"a[name|href|target|title|onclick],img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name],font[face|size|color|style]"
}

请帮帮我

1 个答案:

答案 0 :(得分:0)

欢迎来到SO!

问题在于按钮界面的定义。当您使用|执行此操作时,您正在使用separator来指示分隔符。

将行更改为:

theme_advanced_buttons1 : "bold,italic,underline,strikethrough,separator,justifyleft,justifycenter,justifyright,separator,fontselect,fontsizeselect,separator,bullist,numlist,separator,outdent,indent,separator,undo,redo,separator,forecolor,backcolor",

如果您愿意,可以在此处浏览theme_advanced_buttons1的文档。 http://wiki.moxiecode.com/index.php/TinyMCE:Configuration/theme_advanced_buttons_1_n