From 2a3757ed78955aa724cdae23ff082346c9143278 Mon Sep 17 00:00:00 2001 From: robonetphy <1998patelumang@gmail.com> Date: Thu, 9 Nov 2023 16:56:28 +0530 Subject: [PATCH 1/3] The Readme.md updated --- README.md | 9 ++------- package.json | 2 +- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 35e25e4..c7336f4 100644 --- a/README.md +++ b/README.md @@ -19,20 +19,15 @@ Allows adding link previews to your articles. Get the package ```shell -npm i --save-dev @editorjs/link +yarn add @editorjs/link ``` Include module at your application ```javascript -const LinkTool = require('@editorjs/link'); +import LinkTool from '@editorjs/link'; ``` -### Download to your project's source dir - -1. Download folder `dist` from repository -2. Add `dist/bundle.js` file to your page. - ### Load from CDN You can load the specific version of a package from [jsDelivr CDN](https://www.jsdelivr.com/package/npm/@editorjs/link). diff --git a/package.json b/package.json index 0433999..23f8b04 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@editorjs/link", - "version": "2.6.1", + "version": "2.6.2", "keywords": [ "codex editor", "tool", From 369dd87878fc9905e9e970526716408e0f705388 Mon Sep 17 00:00:00 2001 From: robonetphy <1998patelumang@gmail.com> Date: Thu, 9 Nov 2023 17:15:31 +0530 Subject: [PATCH 2/3] update --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index c7336f4..96641b4 100644 --- a/README.md +++ b/README.md @@ -14,8 +14,6 @@ Allows adding link previews to your articles. ## Installation -### Install via NPM - Get the package ```shell From 381bbef6e6d0963ebaaa95b13abdd12a74324e40 Mon Sep 17 00:00:00 2001 From: robonetphy <1998patelumang@gmail.com> Date: Thu, 9 Nov 2023 17:55:52 +0530 Subject: [PATCH 3/3] update the readme docs --- README.md | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/README.md b/README.md index 96641b4..932191b 100644 --- a/README.md +++ b/README.md @@ -26,13 +26,7 @@ Include module at your application import LinkTool from '@editorjs/link'; ``` -### Load from CDN - -You can load the specific version of a package from [jsDelivr CDN](https://www.jsdelivr.com/package/npm/@editorjs/link). - -`https://cdn.jsdelivr.net/npm/@editorjs/link@2.0.0` - -Then require this script on page with Editor.js through the `` tag. +Optionally, you can load this tool from CDN [JsDelivr CDN](https://cdn.jsdelivr.net/npm/@editorjs/link@latest) ## Usage