blob: fb81c6b79b6eaca88a27588247b9999a9b050dfc (
plain)
1
2
3
4
5
6
7
8
9
|
import { HardBreak } from '@tiptap/extension-hard-break';
export default HardBreak.extend({
addKeyboardShortcuts() {
return {
'Shift-Enter': () => this.editor.commands.setHardBreak(),
};
},
});
|