fix(editor): duplicate name for extension
This commit is contained in:
parent
c61f1a45fb
commit
632e3c5a0b
@ -354,9 +354,9 @@ const editor = useEditor({
|
||||
nested: true,
|
||||
}),
|
||||
|
||||
Commands
|
||||
.configure({suggestion: suggestionSetup(t)})
|
||||
.extend({name: 'slashMenuCommands'}),
|
||||
Commands.configure({
|
||||
suggestion: suggestionSetup(t),
|
||||
}),
|
||||
BubbleMenu,
|
||||
],
|
||||
onUpdate: () => {
|
||||
|
@ -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
|
||||
|
||||
export default Extension.create({
|
||||
name: 'commands',
|
||||
name: 'slash-menu-commands',
|
||||
|
||||
addOptions() {
|
||||
return {
|
||||
|
Loading…
x
Reference in New Issue
Block a user