fix(editor): don't labellize tags with double dash
This commit is contained in:
parent
d01dc82e8c
commit
3aae580e26
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ function getEditorOptions(
|
|||
extensions.push(
|
||||
Mention.configure({
|
||||
renderLabel({ node }) {
|
||||
return `--${node.attrs.label}--`;
|
||||
return node.attrs.label;
|
||||
},
|
||||
HTMLAttributes: {
|
||||
class: 'fr-badge fr-badge--sm fr-badge--info fr-badge--no-icon'
|
||||
|
|
Loading…
Reference in a new issue