JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.6.2
[ckeditor.git] / _source / plugins / contextmenu / plugin.js
index 31bc859..09a9f93 100644 (file)
@@ -105,8 +105,9 @@ CKEDITOR.plugins.add( 'contextmenu',
                                                        CKEDITOR.tools.setTimeout( function()\r
                                                                {\r
                                                                        this.open( offsetParent, null, offsetX, offsetY );\r
-                                                               },\r
-                                                               0, this );\r
+\r
+                                                               // IE needs a short while to allow selection change before opening menu. (#7908)\r
+                                                               }, CKEDITOR.env.ie? 200 : 0, this );\r
                                                },\r
                                                this );\r
 \r
@@ -166,12 +167,13 @@ CKEDITOR.plugins.add( 'contextmenu',
 });\r
 \r
 /**\r
- * Whether to show the browser native context menu when the CTRL or the\r
- * META (Mac) key is pressed while opening the context menu.\r
+ * Whether to show the browser native context menu when the <em>Ctrl</em> or\r
+ * <em>Meta</em> (Mac) key is pressed on opening the context menu with the\r
+ * right mouse button click or the <em>Menu</em> key.\r
  * @name CKEDITOR.config.browserContextMenuOnCtrl\r
  * @since 3.0.2\r
  * @type Boolean\r
- * @default true\r
+ * @default <code>true</code>\r
  * @example\r
  * config.browserContextMenuOnCtrl = false;\r
  */\r