diff --git a/docs/src/docPages/api/commands.md b/docs/src/docPages/api/commands.md index c6ed1a467..ee248f90b 100644 --- a/docs/src/docPages/api/commands.md +++ b/docs/src/docPages/api/commands.md @@ -60,7 +60,7 @@ editor .focus() .command(({ tr }) => { // manipulate the transaction - tr.insertContent('hey, that’s cool!') + tr.insertText('hey, that’s cool!') return true })