CKEditor provides a context menu replacement by default. This disables in browser spell checking for those who don't want to use the spell check module (which is advertising supported).

Information on how to remove this is available here:

With the context menu plugin disabled, the spell checking module and menu button module must also be disabled as so:

CKEDITOR.editorConfig = function( config )
    config.removePlugins = 'scayt,menubutton,contextmenu';


TwoD’s picture

Status:Active» Closed (duplicate)

The easiest way to do this before #313497: Allow configuration of advanced editor settings gets in is by implementing hook_wysiwyg_editor_settings_alter() in a custom module.

function MYMODULE_wysiwyg_editor_settings_alter(&$settings, $context) {
  if (
$context['profile']->editor == 'ckeditor') {
$settings['removePlugins'] = 'scayt,menubutton,contextmenu';

Before the above issue is fixed we can't make the settings GUI for any editor unique.

neRok’s picture

Category:feature» bug
Status:Closed (duplicate)» Active

I am also trying to remove the CKEditor context menu. I have implemented the above hook (in my theme), which is working (has other settings in it also). The line $settings['removePlugins']... is having no effect.

This is with the latest 7.x-2.x-dev (17) of WYSIWYG, and I have a slightly outdated CKEditor ( - but wouldnt expect that to be the problem.

TwoD’s picture

Category:bug» feature
Status:Active» Closed (duplicate)

This is a closed feature request (and/or support request), please don't change it to a bug report when the discussed code does not belong to Wysiwyg itself.

Since you say you have other overrides in the hook implementation too, but don't include it here, I can't tell if there could be a typo which causes a problem.

Also, I would strongly suggest you move the hook implementation to a module. Having it in your theme is a bit unpredictable and it may not execute at all depending on which theme is being used to edit the content. Having it in a module means it'll always be executed.

If that does not work, please create a new support request and include the entire hook implementation code and I'll have a look.
As far as I can tell, the contextmenu plugin is still named the same in CKEditor 4, so the needed settings changes should be the same compared to CKEditor 3.