1
0
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:
Yevhen
2018-11-02 17:17:34 +02:00
committed by Ian Storm Taylor
parent 562f7be4b6
commit 08fae3f67c

View File

@@ -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)