Skip to content

Commit

Permalink
fix: Fix parsing of mention nodes (#1471)
Browse files Browse the repository at this point in the history
  • Loading branch information
shadow-light authored Jun 15, 2021
1 parent b4fc7a4 commit 5178172
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/extension-mention/src/mention.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export const Mention = Node.create<MentionOptions>({
renderHTML({ node, HTMLAttributes }) {
return [
'span',
mergeAttributes(this.options.HTMLAttributes, HTMLAttributes),
mergeAttributes({'data-mention': ''}, this.options.HTMLAttributes, HTMLAttributes),
this.options.renderLabel({
options: this.options,
node,
Expand Down

0 comments on commit 5178172

Please sign in to comment.