Ticket #6127: 6127.patch

File 6127.patch, 680 bytes (added by Tobiasz Cudnik, 14 years ago)
  • _source/plugins/enterkey/plugin.js

     
    263263                                        lineBreak.getNext().$.nodeValue = '';
    264264                                // IE has different behavior regarding position.
    265265                                if ( CKEDITOR.env.ie )
     266                                {
    266267                                        range.setStartAt( lineBreak, CKEDITOR.POSITION_AFTER_END );
     268                                        // Append safe dummy content to move cursor to next line. (#6127)
     269                                        if ( mode == CKEDITOR.ENTER_BR )
     270                                                editor.insertText('\ufeff');
     271                                }
    267272                                else
    268273                                        range.setStartAt( lineBreak.getNext(), CKEDITOR.POSITION_AFTER_START );
    269274
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy