tiptap editor #2222

Merged
konrad merged 66 commits from dpschen/frontend:feature/feat-tiptap-editor into main 2023-10-22 13:49:01 +00:00
2 changed files with 4 additions and 4 deletions
Showing only changes of commit 632e3c5a0b - Show all commits

View File

@ -354,9 +354,9 @@ const editor = useEditor({
nested: true,
}),
Commands
.configure({suggestion: suggestionSetup(t)})
.extend({name: 'slashMenuCommands'}),
Commands.configure({
suggestion: suggestionSetup(t),
}),
BubbleMenu,
],
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
export default Extension.create({
name: 'commands',
name: 'slash-menu-commands',
addOptions() {
return {