improve command handling
This commit is contained in:
@@ -14,7 +14,7 @@ type ReplaceWithNodeCommand = (
|
||||
) => Command
|
||||
|
||||
declare module '../Editor' {
|
||||
interface Editor {
|
||||
interface Commands {
|
||||
replaceText: ReplaceWithNodeCommand,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user