Skip to content

Type Editor


Type Editor / @type-editor/model / elements/ResolvedPos

elements/ResolvedPos

Classes

ClassDescription

ResolvedPos

You can resolve a position to get more information about it. Objects of this class represent such a resolved position, providing various pieces of context information, and some helper methods.

Throughout this interface, methods that take an optional depth parameter will interpret undefined as this.depth and negative numbers as this.depth + value.

Remarks

The internal path structure stores nodes and positions in triplets: [node, index, position] for each level of the document tree.