Ticket #5722: 5722_3.patch

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

     
    203203
    204204                // It's definitely a better user experience if we make the paste-bin pretty unnoticed
    205205                // by pulling it off the screen.
    206                 pastebin.setStyle( this.config.contentsLangDirection == 'ltr' ? 'left' : 'right', '-1000px' );
     206                // Pasting into RTL editor causes unwanted scroll for IE under version 8 (#5722)
     207                if ( CKEDITOR.env.ie && CKEDITOR.env.version < 8 )
     208                        pastebin.setStyle( 'top', '-100000px' );
     209                else
     210                        pastebin.setStyle( this.config.contentsLangDirection == 'ltr' ? 'left' : 'right', '-1000px' );
    207211
    208212                var bms = sel.createBookmarks();
    209213
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy