ci: fix code style linting errors
This commit is contained in:
committed by
GitHub Actions
parent
c3afe880ae
commit
88329c8567
@@ -67,15 +67,15 @@ export const Mention = Node.create<MentionOptions>({
|
|||||||
parseHTML: element => {
|
parseHTML: element => {
|
||||||
return {
|
return {
|
||||||
label: element.getAttribute('data-label'),
|
label: element.getAttribute('data-label'),
|
||||||
};
|
}
|
||||||
},
|
},
|
||||||
renderHTML: attributes => {
|
renderHTML: attributes => {
|
||||||
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