We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5aea50 commit 2c60f5fCopy full SHA for 2c60f5f
lexical-cli-render-without-emoji.ts
@@ -26,7 +26,7 @@ process.stdin.on("end", async () =>
26
{
27
try
28
29
- const editorStateJson = JSON.parse(input);
+ let editorStateJson = JSON.parse(input);
30
if('editorState' in editorStateJson) editorStateJson = editorStateJson.editorState;
31
const editorState = editor.parseEditorState(editorStateJson);
32
editor.setEditorState(editorState);
0 commit comments