X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=_source%2Fplugins%2Fcontextmenu%2Fplugin.js;h=09a9f933c0216756351551a2287cc5dafce85e72;hb=e73319a12b56100b29ef456fd74114fe5519e01c;hp=31bc859c2a17a9ae22f5575594ba02ec8d1f0199;hpb=48b1db88210b4160dce439c6e3e32e14af8c106b;p=ckeditor.git diff --git a/_source/plugins/contextmenu/plugin.js b/_source/plugins/contextmenu/plugin.js index 31bc859..09a9f93 100644 --- a/_source/plugins/contextmenu/plugin.js +++ b/_source/plugins/contextmenu/plugin.js @@ -105,8 +105,9 @@ CKEDITOR.plugins.add( 'contextmenu', CKEDITOR.tools.setTimeout( function() { this.open( offsetParent, null, offsetX, offsetY ); - }, - 0, this ); + + // IE needs a short while to allow selection change before opening menu. (#7908) + }, CKEDITOR.env.ie? 200 : 0, this ); }, this ); @@ -166,12 +167,13 @@ CKEDITOR.plugins.add( 'contextmenu', }); /** - * Whether to show the browser native context menu when the CTRL or the - * META (Mac) key is pressed while opening the context menu. + * Whether to show the browser native context menu when the Ctrl or + * Meta (Mac) key is pressed on opening the context menu with the + * right mouse button click or the Menu key. * @name CKEDITOR.config.browserContextMenuOnCtrl * @since 3.0.2 * @type Boolean - * @default true + * @default true * @example * config.browserContextMenuOnCtrl = false; */