fix: add immediatelyRender:false to Tiptap to prevent SSR hydration mismatch
This commit is contained in:
@@ -27,6 +27,7 @@ export function TiptapEditor({
|
||||
className = "",
|
||||
}: TiptapEditorProps) {
|
||||
const editor = useEditor({
|
||||
immediatelyRender: false,
|
||||
extensions: [
|
||||
StarterKit.configure({
|
||||
heading: false,
|
||||
|
||||
Reference in New Issue
Block a user