Merge pull request #6308 from Ocelot-Social-Community/6142-comment-mention-missing-white-space

fix(webapp): adds white space after user handle in comment editor
This commit is contained in:
Markus 2023-05-24 09:57:48 +02:00 committed by GitHub
commit 7b6fed6d64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,7 @@ export default class Mention extends TipTapMention {
'data-mention-id': node.attrs.id,
target: '_blank',
},
`${this.options.matcher.char}${node.attrs.label}`,
`${this.options.matcher.char}${node.attrs.label} `,
]
},
parseDOM: [