X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fcore%2Fdom%2Fwalker.js;h=191d758003ae34a8aa3d102176f1b68039b04bfe;hb=9873d66421922c7aef8be0f5d2ab51e547b19e66;hp=04ff21ec4d73b9a2e5deeba6cb9eff7f03b806f6;hpb=941b0a9ba4e673e292510d80a5a86806994b8ea6;p=ckeditor.git diff --git a/_source/core/dom/walker.js b/_source/core/dom/walker.js index 04ff21e..191d758 100644 --- a/_source/core/dom/walker.js +++ b/_source/core/dom/walker.js @@ -101,7 +101,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license node = null; } else - node = ( guard ( node ) === false ) ? + node = ( guard ( node, true ) === false ) ? null : node.getPreviousSourceNode( true, type, guard ); } else @@ -115,7 +115,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license node = null; } else - node = ( guard ( range.startContainer ) === false ) ? + node = ( guard ( range.startContainer, true ) === false ) ? null : range.startContainer.getNextSourceNode( true, type, guard ) ; } } @@ -359,12 +359,6 @@ For licensing, see LICENSE.html or http://ckeditor.com/license { return this.blockBoundary( { br : 1 } ); }; - /** - * Whether the node is a bookmark node's inner text node. - */ - CKEDITOR.dom.walker.bookmarkContents = function( node ) - { - }, /** * Whether the to-be-evaluated node is a bookmark node OR bookmark node