fix copying mentions as plain text

This commit is contained in:
Philipp Kühn
2021-01-19 20:27:51 +01:00
committed by Hans Pagel
parent c5caec14d7
commit 8a59f484d0
11 changed files with 116 additions and 15 deletions

View File

@@ -60,6 +60,10 @@ export const Mention = Node.create({
return ['span', HTMLAttributes, `@${node.attrs.id}`]
},
renderText({ node }) {
return `@${node.attrs.id}`
},
addProseMirrorPlugins() {
return [
Suggestion({