Ticket #3831: 3831_2.patch

File 3831_2.patch, 1.8 KB (added by Artur Formella, 10 years ago)
  • _source/plugins/contextmenu/plugin.js

     
    99
    1010        beforeInit : function( editor )
    1111        {
     12                // Indirect load - disable context menu ( #3831 ).
     13                if ( CKEDITOR.tools.indexOf( editor.config.plugins, 'contextmenu' ) < 0 )
     14                        return 0;
     15
    1216                editor.contextMenu = new CKEDITOR.plugins.contextMenu( editor );
    1317
    1418                editor.addCommand( 'contextMenu',
  • _source/plugins/menubutton/plugin.js

     
    55
    66CKEDITOR.plugins.add( 'menubutton',
    77{
    8         requires : [ 'button' ],
     8        requires : [ 'button', 'contextmenu' ],
    99        beforeInit : function( editor )
    1010        {
    1111                editor.ui.addHandler( CKEDITOR.UI_MENUBUTTON, CKEDITOR.ui.menuButton.handler );
  • CHANGES.html

     
    4646        <ul>
    4747                <li><a href="http://dev.fckeditor.net/ticket/3859">#3859</a> : Fixed Flash dialog layout in Webkit</li>
    4848                <li><a href="http://dev.fckeditor.net/ticket/3852">#3852</a> : Disabled textarea resizing in dialogs</li>
     49                <li><a href="http://dev.fckeditor.net/ticket/3831">#3831</a> : Now it is possible to disable contextmenu</li>
    4950                <li><a href="http://dev.fckeditor.net/ticket/3781">#3781</a> : Colorbutton is now disabled in 'source' mode</li>
    5051                <li><a href="http://dev.fckeditor.net/ticket/3848">#3848</a> : Fixed an issue with Webkit in witch
    5152                        elements in the Image and Link dialogs had wrong dimensions.</li>
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy