Ticket #5926: 5926.patch
File 5926.patch, 801 bytes (added by , 14 years ago) |
---|
-
_source/plugins/clipboard/plugin.js
393 393 cut : !readOnly && stateFromNamedCommand( 'Cut' ), 394 394 395 395 // Browser bug: 'Cut' has the correct states for both Copy and Cut. 396 copy : stateFromNamedCommand( 'Cut' ), 396 // In IE and Chrome the command is always off inside readOnly element, so we have to check it manually (#5926) 397 copy : stateFromNamedCommand( 'Cut' ) || ( readOnly && !selection.getRanges()[0].collapsed ), 397 398 paste : !readOnly && ( CKEDITOR.env.webkit ? CKEDITOR.TRISTATE_OFF : stateFromNamedCommand( 'Paste' ) ) 398 399 }; 399 400 });