Ticket #3934: 3934.patch
File 3934.patch, 1.9 KB (added by , 15 years ago) |
---|
-
_source/plugins/enterkey/plugin.js
258 258 259 259 range.insertNode( lineBreak ); 260 260 261 // Fix to show new line for Gecko. (#3934) 262 if ( CKEDITOR.env.gecko && !isPre ) 263 doc.createText( CKEDITOR.env.version < 10900 ? '\u2007' : '\ufeff' ).insertAfter( lineBreak ); 264 261 265 // A text node is required by Gecko only to make the cursor blink. 262 266 // We need some text inside of it, so the bogus <br> is properly 263 267 // created. 264 if ( !CKEDITOR.env.ie )268 if ( !CKEDITOR.env.ie && !CKEDITOR.env.gecko ) 265 269 doc.createText( '\ufeff' ).insertAfter( lineBreak ); 266 270 267 271 // If we are at the end of a block, we must be sure the bogus node is available in that block. … … 270 274 271 275 // Now we can remove the text node contents, so the caret doesn't 272 276 // stop on it. 273 if ( !CKEDITOR.env.ie )277 if ( !CKEDITOR.env.ie && !CKEDITOR.env.gecko ) 274 278 lineBreak.getNext().$.nodeValue = ''; 275 279 // IE has different behavior regarding position. 276 280 if ( CKEDITOR.env.ie ) -
CHANGES.html
126 126 <li><a href="http://dev.fckeditor.net/ticket/3839">#3839</a> : Update Scayt plugin to reflect the latest change from SpellChecker.net.</li> 127 127 <li><a href="http://dev.fckeditor.net/ticket/3742">#3742</a> : Fixed wrong dialog layout for dialogs without tab bar in IE RTL mode .</li> 128 128 <li><a href="http://dev.fckeditor.net/ticket/3671">#3671</a> : Fixed body fixing should be applied to the real type under fake elements.</li> 129 <li><a href="http://dev.fckeditor.net/ticket/3934">#3934</a> : Fixed new line collapsed in enterMode=BR.</li> 129 130 </ul> 130 131 <h3> 131 132 CKEditor 3.0 RC</h3>