Function: fromWithinEditorRead()

fromWithinEditorRead<T>(editor, fn): T

Fetches a value from the Lexical editor read cycle.

Type parameters

Type parameter
T

Parameters

ParameterType
editorLexicalEditor
fn() => T

Returns

T