Ticket #6718: 6718.patch

File 6718.patch, 652 bytes (added by Garry Yao, 13 years ago)
  • _source/plugins/pastefromword/plugin.js

     
    2727                                exec : function()
    2828                                {
    2929                                        forceFromWord = 1;
    30                                         if ( editor.execCommand( 'paste' ) === false )
     30                                        if ( editor.config.forcePasteAsPlainText && ( editor.fire( 'pasteDialog' ), 1 )         // Have to override "forcePasteAsPlainText" by opening dialog (#6718).   
     31                                                || editor.execCommand( 'paste' ) === false )
    3132                                        {
    3233                                                editor.on( 'dialogHide', function ( evt )
    3334                                                        {
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy