Skip to main content

Module: @lexical/react/LexicalOnChangePlugin

Functions

OnChangePlugin

OnChangePlugin(«destructured»): null

Parameters

NameTypeDefault value
«destructured»Objectundefined
› ignoreHistoryMergeTagChange?booleantrue
› ignoreSelectionChange?booleanfalse
› onChange(editorState: EditorState, editor: LexicalEditor, tags: Set<string>) => voidundefined

Returns

null

Defined in

packages/lexical-react/src/LexicalOnChangePlugin.ts:14