2015-09-10 111 views
0

出於某種原因,我無法使字體菜單出現在TinyMCE中。這裏是我的代碼:TinyMCE字體大小菜單

$("#page_text_mce").tinymce({ 
    script_url : '/admin/public/js/tinymce/tinymce.min.js', 
    plugins: [ 
    "advlist autolink link image lists charmap print preview hr anchor pagebreak", 
    "searchreplace wordcount visualblocks visualchars insertdatetime media nonbreaking", 
    "table contextmenu directionality emoticons paste textcolor responsivefilemanager" 
    ], 
    toolbar1: "undo redo | bold italic underline | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | styleselect fontselect | fontsize", 
    toolbar2: "| responsivefilemanager | link unlink anchor | image media | forecolor backcolor | print preview code ", 
    image_advtab: true , 

    external_filemanager_path:"/admin/filemanager/", 
    filemanager_title:"Responsive Filemanager" , 
    external_plugins: { "filemanager" : "/admin/filemanager/plugin.min.js"}, 
    height: 330, 
    width: 1050 
}); 

我不知道我在做什麼錯。

回答

0

對於字體大小,您在toolbar1上有錯誤的屬性值,應該是fontsizeselect。不是fontsize

相關問題