nothing works

This commit is contained in:
Philipp Kühn
2020-10-29 09:26:24 +01:00
parent e960fff74f
commit 516d0da41c
7 changed files with 151 additions and 3 deletions

View File

@@ -1,4 +1,5 @@
import { Command, createNode, nodeInputRule } from '@tiptap/core'
import { VueRenderer } from '@tiptap/vue'
export const inputRegex = /!\[(.+|:?)]\((\S+)(?:(?:\s+)["'](\S+)["'])?\)/
@@ -59,6 +60,12 @@ const Image = createNode({
}),
]
},
addNodeView() {
return VueRenderer({
template: '<div>vue component</div>',
})
},
})
export default Image