Skip to content

EditorViewDomPosition

Unofficial

A DOM position with a node and offset.

Import:

import type { EditorViewDomPosition } from '@obsidian-typings/obsidian-public-latest';

Signature:

export interface EditorViewDomPosition

Properties

PropertyTypeDescription
nodeNodeThe DOM node.
offsetnumberThe offset within the node.

Links to this page: