Ticket #5717: 5717.patch

File 5717.patch, 1.2 KB (added by Charlie, 14 years ago)

Patch as described in #3, config option removed and SCAYT moved to top

  • plugin.js

     
    496496                                        items_order_str += 'scayt_' + items_order[ pos ] + ( items_order.length != parseInt( pos, 10 ) + 1 ? ',' : '' );
    497497                        }
    498498
    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;
    506501                },
    507502
    508503                init : function( editor )
     
    930925 */
    931926
    932927/**
    933  * Makes it possible to place the SCAYT context menu items above others.
    934  * @name CKEDITOR.config.scayt_contextMenuOntop
    935  * @type Boolean
    936  * @default false
    937  * @example
    938  * config.scayt_contextMenuOntop = true;
    939  */
    940 
    941 /**
    942928 * Define order of placing of SCAYT context menu items by groups.
    943929 * It must be a string with one or more of the following
    944930 * words separated by a pipe ("|"):
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy