Skip to content

Commit 4fce9e0

Browse files
Tofandelifox
authored andcommitted
fix: remove duplicate extensions already included in the starterKit
1 parent 8cb0e1a commit 4fce9e0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

frontend/js/components/WysiwygTiptap.vue

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -623,9 +623,6 @@
623623
extensions.push(TableRow)
624624
break
625625
}
626-
case 'hr': {
627-
extensions.push(HorizontalRule)
628-
}
629626
}
630627
})
631628
@@ -635,6 +632,8 @@
635632
listItem: this.toolbar.ordered || this.toolbar.bullet || false,
636633
code: this.toolbar.code ?? false,
637634
codeBlock: this.toolbar.codeBlock ?? false,
635+
horizontalRule: this.toolbar.hr ?? false,
636+
hardBreak: false,
638637
}))
639638
640639
this.editor = new Editor({

0 commit comments

Comments
 (0)