diff --git a/packages/client/src/tiptap/extensions/title.tsx b/packages/client/src/tiptap/extensions/title.tsx index ef7ff843..5f4265a3 100644 --- a/packages/client/src/tiptap/extensions/title.tsx +++ b/packages/client/src/tiptap/extensions/title.tsx @@ -61,6 +61,8 @@ export const Title = Node.create({ const titleNode = $head.node($head.depth); const endPos = titleNode.firstChild.nodeSize + 1; + dispatch(state.tr.insert(endPos, paragraph.create())); + const newState = view.state; const next = new TextSelection(newState.doc.resolve(endPos + 2)); dispatch(newState.tr.setSelection(next));