Ticket #6127: 6127.patch
File 6127.patch, 680 bytes (added by , 13 years ago) |
---|
-
_source/plugins/enterkey/plugin.js
263 263 lineBreak.getNext().$.nodeValue = ''; 264 264 // IE has different behavior regarding position. 265 265 if ( CKEDITOR.env.ie ) 266 { 266 267 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 } 267 272 else 268 273 range.setStartAt( lineBreak.getNext(), CKEDITOR.POSITION_AFTER_START ); 269 274