mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-18 21:21:21 +02:00
Fix typo in docs (#2369)
This commit is contained in:
@@ -399,7 +399,7 @@ class Editor {
|
|||||||
call(fn, ...args) {
|
call(fn, ...args) {
|
||||||
warning(
|
warning(
|
||||||
false,
|
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)
|
fn(this.controller, ...args)
|
||||||
|
Reference in New Issue
Block a user