mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-18 13:11:17 +02:00
Fix typo in docs (#2369)
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user