Ckeditor 如何禁用所见即所得编辑器v1.1.1上下文菜单

Ckeditor 如何禁用所见即所得编辑器v1.1.1上下文菜单,ckeditor,Ckeditor,如何禁用所见即所得编辑器v1.1.1上下文菜单 我已经试过了,但不起作用 CKEDITOR.editorConfig = function( config ) { config.removePlugins = 'contextmenu'; //also try this below code config.removePlugins = 'contextmenu,liststyle,tabletools'; }; 有什么想法吗?使用模块覆盖设置 function MODULENAME_wysi

如何禁用所见即所得编辑器v1.1.1上下文菜单 我已经试过了,但不起作用

CKEDITOR.editorConfig = function( config )
{
config.removePlugins = 'contextmenu';
//also try this below code
config.removePlugins = 'contextmenu,liststyle,tabletools';
};

有什么想法吗?

使用模块覆盖设置

function MODULENAME_wysiwyg_editor_settings_alter(&$settings, $context) {
  if ($context['profile']->editor == 'ckeditor') {
    $settings['removePlugins'] = 'scayt,menubutton,contextmenu';
   }
}
不要忘记用您自己的模块名替换MODULENAME