Ticket #4164: 4164.patch
File 4164.patch, 578 bytes (added by , 15 years ago) |
---|
-
_source/plugins/pastetext/plugin.js
46 46 { 47 47 editor.on( 'beforePaste', function( event ) 48 48 { 49 setTimeout( function() { command.exec(); }, 0 ); 50 event.cancel(); 49 if ( editor.mode == "wysiwyg" ) 50 { 51 setTimeout( function() { command.exec(); }, 0 ); 52 event.cancel(); 53 } 51 54 }, 52 55 null, null, 20 ); 53 56 }