Skip to content

Commit

Permalink
Add CDN version documentation (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelnietoa authored Sep 12, 2022
1 parent 80f7317 commit 363b44a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,16 @@ Include module at your application
import Tooltip from 'editorjs-tooltip';
```

### Load from CDN

You can load a specific version of the package from [jsDelivr CDN](https://www.jsdelivr.com/package/npm/editorjs-tooltip).

Require this script on a page with Editor.js.

```html
<script src="https://cdn.jsdelivr.net/npm/editorjs-tooltip"></script>
```

## Usage

Add a new Tool to the `tools` property of the Editor.js initial config.
Expand Down

0 comments on commit 363b44a

Please sign in to comment.