2013-07-31 54 views
1

正如你可以看到:TinyMCE孤單「forecolorpicker backcolorpicker」但是,當我將它們添加如下面的代碼,他們什麼也不做,我不能找到一個插件添加:TinyMCE的forecolorpicker backcolorpicker插件酒吧

tinymce.init({ 
    selector: ".editableText", 
    inline: true, 
    menubar: false, 
    toolbar_items_size: 'small', 
    plugins: [ 
     "advlist autolink lists link directionality textcolor visualblocks paste", 
     " ", 
     "" 
    ], 
    toolbar: "forecolorpicker backcolorpicker" 
}); 

回答

0

你需要使用這個

toolbar: "forecolor backcolor" 

否則tinymce將無法添加按鈕。