chore(deps): update dependency prettier to v1.19.1 (#2893)
* chore(deps): update dependency prettier to v1.19.1 * style: format files after prettier upgrade
This commit is contained in:
@ -38,7 +38,12 @@ function onKeyDown(event, change) {
|
||||
.collapseToStartOf(newBlock);
|
||||
}
|
||||
|
||||
const marks = [['b', 'bold'], ['i', 'italic'], ['s', 'strikethrough'], ['`', 'code']];
|
||||
const marks = [
|
||||
['b', 'bold'],
|
||||
['i', 'italic'],
|
||||
['s', 'strikethrough'],
|
||||
['`', 'code'],
|
||||
];
|
||||
|
||||
const [, markName] = marks.find(([key]) => isHotkey(`mod+${key}`, event)) || [];
|
||||
|
||||
|
Reference in New Issue
Block a user