lexical-vue
Version:
An extensible Vue 3 web text-editor based on Lexical.
13 lines (12 loc) • 624 B
TypeScript
import * as __VLS_VINE from 'vue-vine/internals';
import type { EditorState, LexicalEditor } from 'lexical';
type __VLS_VINE_OnChangePlugin_emits__ = __VLS_NormalizeEmits<__VLS_VINE.VueDefineEmits<{
change: [editorState: EditorState, editor: LexicalEditor, tags: Set<string>];
}>>;
export declare function OnChangePlugin({ ignoreSelectionChange, ignoreHistoryMergeTagChange, }: __VLS_VINE.VineComponentCommonProps & {
ignoreSelectionChange?: boolean;
ignoreHistoryMergeTagChange?: boolean;
} & {
onChange: __VLS_VINE_OnChangePlugin_emits__['change'];
}, context: {}): __VLS_VINE.VueVineComponent;
export {};