Ticket #3973: 3973.patch
File 3973.patch, 1.9 KB (added by , 15 years ago) |
---|
-
_source/plugins/domiterator/plugin.js
62 62 var lastNode = walker.previous(); 63 63 this._.lastNode = lastNode.getNextSourceNode( true ); 64 64 65 // We may have an empty text node at the end of block due to [3770]. 66 // If that node is the lastNode, it would cause our logic to leak to the 67 // next block.(#3887) 65 68 if ( this._.lastNode && 66 69 this._.lastNode.type == CKEDITOR.NODE_TEXT && 67 !CKEDITOR.tools.trim( this._.lastNode.getText( ) ) ) 70 !CKEDITOR.tools.trim( this._.lastNode.getText( ) ) && 71 this._.lastNode.getParent().isBlockBoundary() ) 68 72 { 69 // Special case for #3887:70 // We may have an empty text node at the end of block due to [3770].71 // If that node is the lastNode, it would cause our logic to leak to the72 // next block.73 73 var testRange = new CKEDITOR.dom.range( range.document ); 74 74 testRange.moveToPosition( this._.lastNode, CKEDITOR.POSITION_AFTER_END ); 75 75 if ( testRange.checkEndOfBlock() ) -
CHANGES.html
145 145 <li><a href="http://dev.fckeditor.net/ticket/3951">#3951</a> : Reset size and lock ratio options were not accessible in Image dialog.</li> 146 146 <li><a href="http://dev.fckeditor.net/ticket/3921">#3921</a> : Fixed Container scroll issue on IE7.</li> 147 147 <li><a href="http://dev.fckeditor.net/ticket/3940">#3940</a> : Fixed list operation doesn't stop at table.</li> 148 <li><a href="http://dev.fckeditor.net/ticket/3973">#3973</a> : Fixed list creation error at the end of document.</li> 148 149 </ul> 149 150 <h3> 150 151 CKEditor 3.0 RC</h3>