code: function (forward, rootNode, position) {
        var walker = new CaretWalker(rootNode);
        return Option.from(forward ? walker.next(position) : walker.prev(position));
      }
docs: Finds: <p>a|<b>b</b></p> -> <p>a<b>|b</b></p>