code style
This commit is contained in:
@@ -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,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user