fix copying mentions

This commit is contained in:
Philipp Kühn
2018-09-25 09:18:02 +02:00
parent 07aa821d92
commit 7c06b73a2d

View File

@@ -34,7 +34,7 @@ export default class MentionNode extends Node {
getAttrs: dom => {
const type = dom.getAttribute('data-mention-type')
const id = dom.getAttribute('data-mention-id')
const label = dom.innerText
const label = dom.innerText.split('@').join('')
return { type, id, label }
},
},