Home > @uniformdev/mesh-sdk-react > serializeVariablesEditorState
serializeVariablesEditorState() function
Serializes a Lexical variables-editor state (as a Lexical AST) to a Uniform-variable-reference formatted string Note: if no content is in the editor state, undefined will be returned.
Signature:
Parameters
| Parameter | Type | Description |
|---|---|---|
| editorState | EditorState |
Returns:
string | undefined