tinymce3.5編輯器升級到tinymce4.1.6編輯器的一些變化
廣告:
tinymce3.5編輯器升級到tinymce4.1.6編輯器的一些變化
一. "tinyMCE.init"改成"tinymce.init",大寫變小寫'
二. textarea選擇變化
3.5為 mode: "exact",elements:"txtContent",
4.1.6為:selector: "textarea#elm1",
三.插件變化:
3.5:
plugins: "fullscreen,emotions,table,preview,pagebreak,advimage,paste,visualchars,xhtmlxtras",
4.1.6:plugins: [
"advlist autolink link image lists charmap print preview hr anchor pagebreak spellchecker",
"searchreplace wordcount visualblocks visualchars code fullscreen insertdatetime media nonbreaking",
"save table contextmenu directionality emoticons template paste textcolor"
],
四,按鈕欄:
3.5:
plugins: "autolink,lists,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,wordcount,advlist,autosave,visualblocks",
theme_advanced_buttons1: "fullscreen,code,newdocument,|,cut,copy,paste,|,undo,redo,|,bold,italic,underline,strikethrough,justifyleft,justifycenter,justifyright,justifyfull,|,bullist,numlist,outdent,indent,|,forecolor,backcolor",
4.1.6:toolbar: "insertfile undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | l ink image | print preview media fullpage | forecolor backcolor emoticons",
廣告: