fix(editor): duplicate name for extension
continuous-integration/drone/pr Build is failing Details

This commit is contained in:
kolaente 2023-10-22 11:02:03 +02:00
parent c61f1a45fb
commit 632e3c5a0b
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
2 changed files with 4 additions and 4 deletions

View File

@ -354,9 +354,9 @@ const editor = useEditor({
nested: true, nested: true,
}), }),
Commands Commands.configure({
.configure({suggestion: suggestionSetup(t)}) suggestion: suggestionSetup(t),
.extend({name: 'slashMenuCommands'}), }),
BubbleMenu, BubbleMenu,
], ],
onUpdate: () => { onUpdate: () => {

View File

@ -4,7 +4,7 @@ import Suggestion from '@tiptap/suggestion'
// Copied and adjusted from https://github.com/ueberdosis/tiptap/tree/252acb32d27a0f9af14813eeed83d8a50059a43a/demos/src/Experiments/Commands/Vue // Copied and adjusted from https://github.com/ueberdosis/tiptap/tree/252acb32d27a0f9af14813eeed83d8a50059a43a/demos/src/Experiments/Commands/Vue
export default Extension.create({ export default Extension.create({
name: 'commands', name: 'slash-menu-commands',
addOptions() { addOptions() {
return { return {