Vizel API / vue/src / VizelEditorSnapshot
Interface: VizelEditorSnapshot
Defined in: packages/vue/src/_reactivity.ts:51
Snapshot exposed to a useVizelEditorState selector.
The snapshot stays referentially stable per transaction: the same object passes to consecutive selector evaluations triggered by the same notification, while transaction reflects the value Tiptap delivered on the most recent transaction or selectionUpdate event. transaction is null until the first event fires — most commonly during the SSR pass and the first browser render before Tiptap has dispatched any transaction.
Properties
editor
readonly editor: Editor | null;Defined in: packages/vue/src/_reactivity.ts:53
The active editor instance, or null while it is still initializing.
transaction
readonly transaction: Transaction | null;Defined in: packages/vue/src/_reactivity.ts:55
The transaction that triggered the most recent re-evaluation, or null before the first event.