Ticket #8342: 8342.patch

File 8342.patch, 611 bytes (added by Sa'ar Zac Elias, 8 years ago)
  • _source/plugins/clipboard/plugin.js

     
    296296                if ( this.mode != 'wysiwyg' )
    297297                        return;
    298298
     299                inReadOnly = inReadOnly || this.readOnly;
     300
    299301                this.getCommand( 'cut' ).setState( inReadOnly ? CKEDITOR.TRISTATE_DISABLED : stateFromNamedCommand( 'Cut', this ) );
    300302                this.getCommand( 'copy' ).setState( stateFromNamedCommand( 'Copy', this ) );
    301303                var pasteState = inReadOnly ? CKEDITOR.TRISTATE_DISABLED :
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy