Ticket #5926: 5926_2.patch

File 5926_2.patch, 712 bytes (added by Sa'ar Zac Elias, 14 years ago)
  • _source/plugins/clipboard/plugin.js

     
    391391                                                        var readOnly = selection.getCommonAncestor().isReadOnly();
    392392                                                        return {
    393393                                                                cut : !readOnly && stateFromNamedCommand( 'Cut' ),
    394 
    395                                                                 // Browser bug: 'Cut' has the correct states for both Copy and Cut.
    396                                                                 copy : stateFromNamedCommand( 'Cut' ),
     394                                                                copy : stateFromNamedCommand( 'Copy' ),
    397395                                                                paste : !readOnly && ( CKEDITOR.env.webkit ? CKEDITOR.TRISTATE_OFF : stateFromNamedCommand( 'Paste' ) )
    398396                                                        };
    399397                                                });
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy