($focusedInput = api)}>
-
- {#await Promise.all( [richTextPromise, stylesPromise], ) then [container, styles]}
-
-
-
- {/await}
-
+ {#await Promise.all([richTextPromise, stylesDidLoad]) then _}
+
+
+
+ {/await}
diff --git a/ts/editor/rich-text-input/RichTextStyles.svelte b/ts/editor/rich-text-input/RichTextStyles.svelte
index f98e8484e..9679a3939 100644
--- a/ts/editor/rich-text-input/RichTextStyles.svelte
+++ b/ts/editor/rich-text-input/RichTextStyles.svelte
@@ -11,15 +11,12 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
import type { StyleLinkType, StyleObject } from "./CustomStyles.svelte";
import CustomStyles from "./CustomStyles.svelte";
- const [promise, customStylesResolve] = promiseWithResolver