簡體   English   中英

IE無法顯示tinymce圖標

[英]IE is not able to display tinymce icons

我的代碼無法顯示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]"
}

請幫幫我

歡迎來到SO!

問題出在按鈕界面的定義上。 您正在使用| 指示何時應該使用separator執行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

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM