diff --git a/packages/slate/src/controllers/editor.js b/packages/slate/src/controllers/editor.js index 64ebe170d..662303a3f 100644 --- a/packages/slate/src/controllers/editor.js +++ b/packages/slate/src/controllers/editor.js @@ -399,7 +399,7 @@ class Editor { call(fn, ...args) { warning( false, - 'As of Slate 0.43 the `editor.command(fn)` method has been deprecated, please use `editor.command(fn)` instead.' + 'As of Slate 0.43 the `editor.call(fn)` method has been deprecated, please use `editor.command(fn)` instead.' ) fn(this.controller, ...args)