refactoring

This commit is contained in:
Philipp Kühn
2020-09-10 11:20:30 +02:00
parent bdb3d2d30a
commit 47df54a31d

View File

@@ -29,7 +29,7 @@ export default new Mark()
],
toDOM: () => ['strong', 0],
}))
.commands(({ editor, name, type }) => ({
.commands(({ editor, name }) => ({
bold: next => () => {
editor.toggleMark(name)
next()