We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a4a99a commit 25cb01eCopy full SHA for 25cb01e
1 file changed
packages/tiptap-extension-block-container/src/blockContainer.ts
@@ -61,7 +61,7 @@ export const blockContainer = Node.create({
61
},
62
addKeyboardShortcuts() {
63
const handleEnter = () => this.editor.commands.first(({ commands, state }) => {
64
- return [() => commands.splitBlockContainer(state.selection.from)]
+ return [() => commands.newlineInCode(), () => commands.splitBlockContainer(state.selection.from)]
65
})
66
67
return {
0 commit comments