Skip to content

editor/view

Renders the editor-class tree the way Obsidian’s editor does: a token’s classes as cm-<class> on its text, and a line’s classes as they are on its .cm-line.

Interface Description
DocumentRange A range of the document.
Function Description
editorClassDecorations Builds the decorations for the classes of the editor-class tree in the given ranges.
Variable Description
editorClasses Renders the classes of the editor-class tree in the visible ranges.