fix copying mentions as plain text
This commit is contained in:
@@ -60,6 +60,10 @@ export const Mention = Node.create({
|
||||
return ['span', HTMLAttributes, `@${node.attrs.id}`]
|
||||
},
|
||||
|
||||
renderText({ node }) {
|
||||
return `@${node.attrs.id}`
|
||||
},
|
||||
|
||||
addProseMirrorPlugins() {
|
||||
return [
|
||||
Suggestion({
|
||||
|
||||
Reference in New Issue
Block a user