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") && } +
); }