Type alias: EditorSubscription()
EditorSubscription: (
activeEditor
) => () =>void
A function that subscribes to Lexical editor updates or events, and retursns an unsubscribe function.
Parameters
Parameter | Type |
---|---|
activeEditor | LexicalEditor |
Returns
Function
Returns
void