Ticket #3919: 3919.patch
File 3919.patch, 725 bytes (added by , 14 years ago) |
---|
-
_source/plugins/domiterator/plugin.js
62 62 var lastNode = walker.previous(); 63 63 this._.lastNode = lastNode.getNextSourceNode( true ); 64 64 65 if ( this._.lastNode.type == CKEDITOR.NODE_TEXT && !CKEDITOR.tool.trim( this._.lastNode.getText( ) ) ) 65 if ( this._.lastNode && 66 this._.lastNode.type == CKEDITOR.NODE_TEXT && 67 !CKEDITOR.tool.trim( this._.lastNode.getText( ) ) ) 66 68 { 67 69 // Special case for #3887: 68 70 // We may have an empty text node at the end of block due to [3770].