Type alias: EditorSubscription()

EditorSubscription: (activeEditor) => () => void

A function that subscribes to Lexical editor updates or events, and retursns an unsubscribe function.

Parameters

ParameterType
activeEditorLexicalEditor

Returns

Function

Returns

void