From 81c5ff01bbbaf7433802a1fc4ff157e1c58aaa84 Mon Sep 17 00:00:00 2001 From: umaranis Date: Mon, 27 May 2024 18:42:30 +1000 Subject: [PATCH] bug: prettier v3 async not working with synchronous lexical update calls; also required estree plugin --- .../components/PrettierButton.svelte | 36 +++++++++---------- .../components/PrettierLangOptions.ts | 13 ++++--- 2 files changed, 26 insertions(+), 23 deletions(-) diff --git a/packages/svelte-lexical/src/lib/core/plugins/CodeBlock/CodeActionMenuPlugin/components/PrettierButton.svelte b/packages/svelte-lexical/src/lib/core/plugins/CodeBlock/CodeActionMenuPlugin/components/PrettierButton.svelte index 30d74eaf..8235ae17 100644 --- a/packages/svelte-lexical/src/lib/core/plugins/CodeBlock/CodeActionMenuPlugin/components/PrettierButton.svelte +++ b/packages/svelte-lexical/src/lib/core/plugins/CodeBlock/CodeActionMenuPlugin/components/PrettierButton.svelte @@ -1,7 +1,7 @@