给编辑器TinyMce添加Ribbon主题。
http://tinymce.swis.nl/documentation
在使用这个主题的时候会有这么一个问题:
功能edit_image不可用,如图一:
正常的情况下,如图二:
这个问题主要是我们在初始化的时候插件之间有冲突。
在加载插件bestandsbeheer的时候它会去找目录\tinymce\jscripts\tiny_mce\plugins\bestandsbeheer下的index.html页面,
此页面的效果就是图一的效果。
只要将
tinyMCE.init({
mode : 'textareas',
theme : 'ribbon',
content_css : 'css/editor.css',
plugins : 'bestandsbeheer,tabfocus,advimagescale,loremipsum,image_tools,embed,tableextras,style,table,inlinepopups,searchreplace,contextmenu,paste,wordcount,advlist,autosave', //去掉bestandsbeheer
inlinepopups_skin : 'ribbon_popup'
});