paths.js is part of Aloha Editor project http://www.alohaeditor.org
Aloha Editor ● JavaScript Content Editing Library
Copyright (c) 2010-2015 Gentics Software GmbH, Vienna, Austria.
Contributors http://www.alohaeditor.org/docs/contributing.html
Aloha Editor ● JavaScript Content Editing Library
Copyright (c) 2010-2015 Gentics Software GmbH, Vienna, Austria.
Contributors http://www.alohaeditor.org/docs/contributing.html
Methods
-
Returns a "path" from the given boundary position, up to the specified
node. The `limit` node must contain the given boundary position.Name Type Description limit
Node boundary
Boundary -
Resolves the given path to a boundary positioned inside DOM tree whose
root is `container`.Name Type Description container
Node path
Array.<number>