Function: fromWithinEditorRead

fromWithinEditorRead<T>(editor, fn): T

Fetches a value from the Lexical editor read cycle.

Type parameters

Name
T

Parameters

NameType
editorLexicalEditor
fn() => T

Returns

T