From c8a7883b2a41b71fbe6dd38efdde282e548853b1 Mon Sep 17 00:00:00 2001 From: wendellhu Date: Thu, 2 Jul 2020 23:21:20 +0800 Subject: [PATCH] doc: fix parenthesis missing (#3754) --- docs/concepts/06-editor.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/concepts/06-editor.md b/docs/concepts/06-editor.md index 20e2e22bb..bcd81e6f2 100644 --- a/docs/concepts/06-editor.md +++ b/docs/concepts/06-editor.md @@ -60,7 +60,7 @@ Or maybe you want to override the `insertText` behavior to "linkify" URLs: const { insertText } = editor editor.insertText = text => { - if (isUrl(text) { + if (isUrl(text)) { // ... return }