From c10db332cdeb3f702d378b0649be20eb789c13e1 Mon Sep 17 00:00:00 2001 From: Alessio Gravili <70709113+AlessioGr@users.noreply.github.com> Date: Sun, 19 Nov 2023 14:40:09 +0100 Subject: [PATCH] docs(richtext-lexical): remove unnecessary await from createHeadlessEditor (#4213) --- docs/rich-text/lexical.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/rich-text/lexical.mdx b/docs/rich-text/lexical.mdx index e0e2b271c..e17db2d86 100644 --- a/docs/rich-text/lexical.mdx +++ b/docs/rich-text/lexical.mdx @@ -314,7 +314,7 @@ import { const yourEditorConfig; // <= your editor config here -const headlessEditor = await createHeadlessEditor({ +const headlessEditor = createHeadlessEditor({ nodes: getEnabledNodes({ editorConfig: sanitizeEditorConfig(yourEditorConfig), }),