We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ba2424b + 17269a5 commit ce57cc4Copy full SHA for ce57cc4
1 file changed
src/components/Editor/PlainTableContentEditor.vue
@@ -14,6 +14,7 @@
14
import { Editor } from '@tiptap/core'
15
/* eslint-disable import/no-named-as-default */
16
import History from '@tiptap/extension-history'
17
+import HardBreak from '@tiptap/extension-hard-break'
18
import MainContainer from './MainContainer.vue'
19
import Wrapper from './Wrapper.vue'
20
import ContentContainer from './ContentContainer.vue'
@@ -59,7 +60,7 @@ export default {
59
60
61
created() {
62
const html = markdownit.render(this.content)
- const extensions = [PlainTable, History]
63
+ const extensions = [HardBreak, PlainTable, History]
64
65
this.$editor = new Editor({
66
content: html,
0 commit comments