diff --git a/packages/extension-mention/src/mention.ts b/packages/extension-mention/src/mention.ts index fa2ec538..f01378bc 100644 --- a/packages/extension-mention/src/mention.ts +++ b/packages/extension-mention/src/mention.ts @@ -102,7 +102,7 @@ export const Mention = Node.create({ renderHTML({ node, HTMLAttributes }) { return [ 'span', - mergeAttributes({'data-mention': ''}, this.options.HTMLAttributes, HTMLAttributes), + mergeAttributes({ 'data-mention': '' }, this.options.HTMLAttributes, HTMLAttributes), this.options.renderLabel({ options: this.options, node,