1

小さなMCEのセットアップは次のとおりです。画像でわかるように、3 列目のボタンが表示されます。どこから来たのかわからない!私のJavaScriptコードには3行目の設定はありませんが、まだそこにあることが示されています。

ここに画像の説明を入力

tinyMCE.init({

        mode : "textareas",
        theme : "advanced",
        plugins : "pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,nonbreaking,xhtmlxtras,template,advlist,fullpage",

            theme_advanced_buttons1 : "formatselect,fontselect,fontsizeselect,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,bullist,numlist,|,outdent,indent,|,forecolor,backcolor",
            theme_advanced_buttons2 :  "mybutton,|,link,unlink,|,hr,removeformat,pastetext,pasteword,cleanup,|,undo,redo,|,code",
            theme_advanced_toolbar_location : "top",
            theme_advanced_toolbar_align : "left",
            theme_advanced_statusbar_location : "none",
            theme_advanced_resizing : true,
            convert_urls : false,
            fullpage_default_doctype: "",

        content_css : "css/content.css",
        cleanup : false,

        template_external_list_url : "lists/template_list.js",
        external_link_list_url : "lists/link_list.js",
        external_image_list_url : "lists/image_list.js",
        media_external_list_url : "lists/media_list.js",

    });
4

2 に答える 2

1

それを修正した次の行を追加する必要がありました。

theme_advanced_buttons3 : ""
于 2011-05-02T18:34:08.257 に答える
0

ボタンの 2 列目から削除するmybuttonと、物はなくなります。

プラグイン行またはボタン行のいずれかにエラーがあると思われます。

于 2011-05-02T17:05:26.527 に答える