Home > @uniformdev/mesh-sdk-react > VariablesPlugin
VariablesPlugin() function
Enables variables auto-complete and reference management to a Lexical editor. Must also activate the VariableNode node to make this work.
Signature:
Parameters
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead> <tbody><tr><td>
{ disableVariables, showAddVariableMenuOption, enableEditingVariables, getEditorContext, replaceValueOnVariableInsert, filterVariable, }
</td><td>
VariablesPluginProps<TEditorContext>
</td><td>
</td></tr> </tbody></table> Returns:
JSX.Element | null