code style

This commit is contained in:
Philipp Kühn
2021-06-14 16:17:13 +02:00
parent 88329c8567
commit 299580a77d

View File

@@ -62,6 +62,7 @@ export const Mention = Node.create<MentionOptions>({
} }
}, },
}, },
label: { label: {
default: null, default: null,
parseHTML: element => { parseHTML: element => {
@@ -73,6 +74,7 @@ export const Mention = Node.create<MentionOptions>({
if (!attributes.label) { if (!attributes.label) {
return {} return {}
} }
return { return {
'data-label': attributes.label, 'data-label': attributes.label,
} }