Ticket #5504: 5504.patch

File 5504.patch, 593 bytes (added by garry.yao, 4 years ago)
  • _source/plugins/clipboard/plugin.js

     
    2828                // the command to execute. 
    2929                body.on( command, onExec ); 
    3030 
    31                 doc.$.execCommand( command ); 
     31                // IE6/7: document.execCommand has problem to paste into positioned element. (#5504) 
     32                ( CKEDITOR.env.ie8 ? doc.$ : doc.$.selection.createRange() ) [ 'execCommand' ]( command ); 
    3233 
    3334                body.removeListener( command, onExec ); 
    3435 
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy