Function: NestedEditorsContext()

NestedEditorsContext(props): ReactNode

Use this context to provide the necessary values to the NestedLexicalEditor React component. Place it as a wrapper in your custom lexical node decorators.

Parameters

ParameterType
propsProviderProps<undefined | NestedEditorsContextValue<Node>>

Returns

ReactNode