fix more linting errors

This commit is contained in:
Philipp Kühn
2020-09-24 00:29:05 +02:00
parent aefb4ca8e6
commit ac33eb483e
106 changed files with 310 additions and 274 deletions

View File

@@ -1,4 +1,6 @@
import { Command, Mark, markInputRule, markPasteRule } from '@tiptap/core'
import {
Command, Mark, markInputRule, markPasteRule,
} from '@tiptap/core'
export type BoldCommand = () => Command
@@ -37,7 +39,7 @@ export default new Mark()
},
}))
.keys(({ editor }) => ({
'Mod-b': () => editor.bold()
'Mod-b': () => editor.bold(),
}))
.inputRules(({ type }) => [
markInputRule(starInputRegex, type),