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