From 998802f0d7c64a52a0c9db1ae33250a7522fd0d5 Mon Sep 17 00:00:00 2001 From: Steven Tey Date: Fri, 25 Aug 2023 22:24:43 -0500 Subject: [PATCH] Update index.tsx --- ui/editor/index.tsx | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/ui/editor/index.tsx b/ui/editor/index.tsx index 6b63b6950..bcb29d4bb 100644 --- a/ui/editor/index.tsx +++ b/ui/editor/index.tsx @@ -132,20 +132,18 @@ export default function Editor() { }, [editor, content, hydrated]); return ( -
- {editor && } -
{ - editor?.chain().focus().run(); - }} - className="relative min-h-[500px] w-full max-w-screen-lg border-stone-200 bg-white p-12 px-8 sm:mb-[calc(20vh)] sm:rounded-lg sm:border sm:px-12 sm:shadow-lg" - > -
- {saveStatus} -
- {editor?.isActive("image") && } - +
{ + editor?.chain().focus().run(); + }} + className="relative min-h-[500px] w-full max-w-screen-lg border-stone-200 bg-white p-12 px-8 sm:mb-[calc(20vh)] sm:rounded-lg sm:border sm:px-12 sm:shadow-lg" + > +
+ {saveStatus}
+ {editor && } + {editor?.isActive("image") && } +
); }