Ticket #5717: 5717.patch
File 5717.patch, 1.2 KB (added by , 14 years ago) |
---|
-
plugin.js
496 496 items_order_str += 'scayt_' + items_order[ pos ] + ( items_order.length != parseInt( pos, 10 ) + 1 ? ',' : '' ); 497 497 } 498 498 499 // Register scayt rbc menu group. 500 if ( editor.config.scayt_contextMenuOntop ) 501 // Put it on top of all context menu items 502 editor.config.menu_groups = items_order_str + ',' + editor.config.menu_groups; 503 else 504 // Put it down 505 editor.config.menu_groups = editor.config.menu_groups + ',' +items_order_str; 499 // Put it on top of all context menu items (#5717) 500 editor.config.menu_groups = items_order_str + ',' + editor.config.menu_groups; 506 501 }, 507 502 508 503 init : function( editor ) … … 930 925 */ 931 926 932 927 /** 933 * Makes it possible to place the SCAYT context menu items above others.934 * @name CKEDITOR.config.scayt_contextMenuOntop935 * @type Boolean936 * @default false937 * @example938 * config.scayt_contextMenuOntop = true;939 */940 941 /**942 928 * Define order of placing of SCAYT context menu items by groups. 943 929 * It must be a string with one or more of the following 944 930 * words separated by a pipe ("|"):