From 85e0a92b31a5578f7ca1194674e0a46508918a52 Mon Sep 17 00:00:00 2001 From: Untone Date: Mon, 22 Jul 2024 09:29:57 +0300 Subject: [PATCH] editor... --- src/components/Editor/SimplifiedEditor.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/Editor/SimplifiedEditor.tsx b/src/components/Editor/SimplifiedEditor.tsx index 9f28d7b2..66d7b262 100644 --- a/src/components/Editor/SimplifiedEditor.tsx +++ b/src/components/Editor/SimplifiedEditor.tsx @@ -11,7 +11,7 @@ import { Paragraph } from '@tiptap/extension-paragraph' import { Placeholder } from '@tiptap/extension-placeholder' import { Text } from '@tiptap/extension-text' import { clsx } from 'clsx' -import { Show, createEffect, createMemo, createSignal, onCleanup, onMount } from 'solid-js' +import { Show, Suspense, createEffect, createMemo, createSignal, onCleanup, onMount } from 'solid-js' import { Portal } from 'solid-js/web' import { createEditorTransaction, @@ -261,6 +261,7 @@ const SimplifiedEditor = (props: Props) => { return ( +
(wrapperEditorElRef = el)} class={clsx(styles.SimplifiedEditor, { @@ -390,6 +391,7 @@ const SimplifiedEditor = (props: Props) => { />
+
) }