mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-11-27 23:15:15 +08:00
ci: fix code style linting errors
This commit is contained in:
parent
c3afe880ae
commit
88329c8567
@ -67,15 +67,15 @@ export const Mention = Node.create<MentionOptions>({
|
||||
parseHTML: element => {
|
||||
return {
|
||||
label: element.getAttribute('data-label'),
|
||||
};
|
||||
}
|
||||
},
|
||||
renderHTML: attributes => {
|
||||
if (!attributes.label) {
|
||||
return {};
|
||||
return {}
|
||||
}
|
||||
return {
|
||||
'data-label': attributes.label,
|
||||
};
|
||||
}
|
||||
},
|
||||
},
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user