Ticket #8342: 8342_4.patch

File 8342_4.patch, 602 bytes (added by Garry Yao, 13 years ago)
  • _source/plugins/clipboard/plugin.js

     
    418418                                        setToolbarStates.call( editor );
    419419                                });
    420420
     421                                // State reflected immediately in read-only mode.
     422                                editor.on( 'readOnly', function()
     423                                {
     424                                        inReadOnly = this.readOnly;
     425                                        setToolbarStates.call( editor );
     426                                });
     427
    421428                                // If the "contextmenu" plugin is loaded, register the listeners.
    422429                                if ( editor.contextMenu )
    423430                                {
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy