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