add new commands to all extensions

This commit is contained in:
Philipp Kühn
2018-10-28 21:59:08 +01:00
parent d2519c2953
commit dcba6686dc
16 changed files with 37 additions and 38 deletions

View File

@@ -24,8 +24,8 @@ export default class Italic extends Mark {
}
}
command({ type }) {
return toggleMark(type)
commands({ type }) {
return () => toggleMark(type)
}
inputRules({ type }) {