JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.3.2
[ckeditor.git] / _source / core / dom / walker.js
index 04ff21e..191d758 100644 (file)
@@ -101,7 +101,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
                                                node = null;\r
                                }\r
                                else\r
-                                       node = ( guard ( node ) === false ) ?\r
+                                       node = ( guard ( node, true ) === false ) ?\r
                                                null : node.getPreviousSourceNode( true, type, guard );\r
                        }\r
                        else\r
@@ -115,7 +115,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
                                                node = null;\r
                                }\r
                                else\r
-                                       node = ( guard ( range.startContainer ) === false ) ?\r
+                                       node = ( guard ( range.startContainer, true ) === false ) ?\r
                                                null : range.startContainer.getNextSourceNode( true, type, guard ) ;\r
                        }\r
                }\r
@@ -359,12 +359,6 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
        {\r
                        return this.blockBoundary( { br : 1 } );\r
        };\r
-       /**\r
-        * Whether the node is a bookmark node's inner text node.\r
-        */\r
-       CKEDITOR.dom.walker.bookmarkContents = function( node )\r
-       {\r
-       },\r
 \r
        /**\r
         * Whether the to-be-evaluated node is a bookmark node OR bookmark node\r