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",
广告:阿里云新人采购专场