diff --git a/packages/core/src/commands/replaceWithNode.ts b/packages/core/src/commands/replaceWithNode.ts index d992735a..afd69476 100644 --- a/packages/core/src/commands/replaceWithNode.ts +++ b/packages/core/src/commands/replaceWithNode.ts @@ -15,7 +15,7 @@ type ReplaceWithNodeCommand = ( declare module '../Editor' { interface Commands { - replaceText: ReplaceWithNodeCommand, + replaceWithNode: ReplaceWithNodeCommand, } }