diff --git a/src/extensions/Mention.js b/src/extensions/Mention.js index 9afd3729eaa..1f4022008fa 100644 --- a/src/extensions/Mention.js +++ b/src/extensions/Mention.js @@ -23,7 +23,7 @@ export default TipTapMention.extend({ return [ 'span', mergeAttributes({ 'data-type': 'user', class: 'mention' }, this.options.HTMLAttributes, HTMLAttributes), - this.options.renderLabel({ + this.options.renderText({ options: this.options, node, }),