diff --git a/web/components/editor.tsx b/web/components/editor.tsx index 3bee8298..635a8c01 100644 --- a/web/components/editor.tsx +++ b/web/components/editor.tsx @@ -64,7 +64,7 @@ export function useTextEditor(props: { Placeholder.configure({ placeholder, emptyEditorClass: - 'before:content-[attr(data-placeholder)] before:text-slate-500 before:float-left before:h-0', + 'before:content-[attr(data-placeholder)] before:text-slate-500 before:float-left before:h-0 cursor-text', }), CharacterCount.configure({ limit: max }), Image, @@ -168,7 +168,14 @@ export function TextEditor(props: { Embed an iframe -
+ {/* Spacer that also focuses editor on click */} +