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