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 }