add new commands to all extensions
This commit is contained in:
@@ -34,8 +34,8 @@ export default class Strike extends Mark {
|
||||
}
|
||||
}
|
||||
|
||||
command({ type }) {
|
||||
return toggleMark(type)
|
||||
commands({ type }) {
|
||||
return () => toggleMark(type)
|
||||
}
|
||||
|
||||
inputRules({ type }) {
|
||||
|
||||
Reference in New Issue
Block a user