fix: Fix parsing of mention nodes (#1471)
This commit is contained in:
@@ -102,7 +102,7 @@ export const Mention = Node.create<MentionOptions>({
|
|||||||
renderHTML({ node, HTMLAttributes }) {
|
renderHTML({ node, HTMLAttributes }) {
|
||||||
return [
|
return [
|
||||||
'span',
|
'span',
|
||||||
mergeAttributes(this.options.HTMLAttributes, HTMLAttributes),
|
mergeAttributes({'data-mention': ''}, this.options.HTMLAttributes, HTMLAttributes),
|
||||||
this.options.renderLabel({
|
this.options.renderLabel({
|
||||||
options: this.options,
|
options: this.options,
|
||||||
node,
|
node,
|
||||||
|
|||||||
Reference in New Issue
Block a user