Index: /CKEditor/trunk/CHANGES.html
===================================================================
--- /CKEditor/trunk/CHANGES.html (revision 5833)
+++ /CKEditor/trunk/CHANGES.html (revision 5834)
@@ -49,4 +49,5 @@
#6055 : The timestamp is now added only once to each loaded file.
#6097 : The bookmarks now use the right name.
+ #5717 : Removed the scayt_contextMenuOntop setting and the SCAYT context menu options are always on top.
Index: /CKEditor/trunk/_source/plugins/scayt/plugin.js
===================================================================
--- /CKEditor/trunk/_source/plugins/scayt/plugin.js (revision 5833)
+++ /CKEditor/trunk/_source/plugins/scayt/plugin.js (revision 5834)
@@ -497,11 +497,6 @@
}
- // Register scayt rbc menu group.
- if ( editor.config.scayt_contextMenuOntop )
- // Put it on top of all context menu items
- editor.config.menu_groups = items_order_str + ',' + editor.config.menu_groups;
- else
- // Put it down
- editor.config.menu_groups = editor.config.menu_groups + ',' +items_order_str;
+ // Put it on top of all context menu items (#5717)
+ editor.config.menu_groups = items_order_str + ',' + editor.config.menu_groups;
},
@@ -932,13 +927,4 @@
/**
- * Makes it possible to place the SCAYT context menu items above others.
- * @name CKEDITOR.config.scayt_contextMenuOntop
- * @type Boolean
- * @default false
- * @example
- * config.scayt_contextMenuOntop = true;
- */
-
-/**
* Define order of placing of SCAYT context menu items by groups.
* It must be a string with one or more of the following