annotations: improve decoration mapping (wip)

This commit is contained in:
Hans Pagel
2021-02-11 18:06:10 +01:00
parent 30fccac47c
commit 967f43fda5
4 changed files with 35 additions and 43 deletions

View File

@@ -58,7 +58,7 @@ export const Annotation = Extension.create({
addProseMirrorPlugins() {
return [
AnnotationPlugin(this.options),
AnnotationPlugin(this.options, this.editor),
]
},
})