fix copying mentions as plain text

This commit is contained in:
Philipp Kühn
2021-01-19 20:27:51 +01:00
parent 80ec657053
commit 563f37d74b
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({