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
| Parameter | Type |
|---|---|
props | ProviderProps<undefined | NestedEditorsContextValue<Node>> |
Returns
ReactNode