From 9bffda9fe8b993d85928ee85bc595b568ef2204c Mon Sep 17 00:00:00 2001 From: visualjerk Date: Mon, 25 Jan 2021 18:49:36 +0100 Subject: [PATCH] chore: update docs --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5efc0a4..6e0f7b9 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ You can find a [demo page here](https://visualjerk.github.io/quill-magic-url/). ```html - + ``` ### With NPM @@ -49,9 +49,9 @@ const quill = new Quill(editor, { modules: { magicUrl: { // Regex used to check URLs during typing - urlRegularExpression: /(https?:\/\/[\S]+)|(www.[\S]+)|(mailto:[\S]+)|(tel:[\S]+)/, + urlRegularExpression: /(https?:\/\/[\S]+)|(www.[\S]+)|(tel:[\S]+)/, // Regex used to check URLs on paste - globalRegularExpression: /(https?:\/\/|www\.|mailto:|tel:)[\S]+/g, + globalRegularExpression: /(https?:\/\/|www\.|tel:)[\S]+/g, }, }, })