diff --git a/README.md b/README.md index aaf9216..db1f639 100644 --- a/README.md +++ b/README.md @@ -6,25 +6,18 @@ Provides Headings Blocks for the [Editor.js](https://ifmo.su/editor). ## Installation -### Install via NPM - Get the package ```shell -npm i --save @editorjs/header +yarn add @editorjs/header ``` Include module at your application ```javascript -const Header = require('@editorjs/header'); +import Header from '@editorjs/header'; ``` -### Download to your project's source dir - -1. Upload folder `dist` from repository -2. Add `dist/bundle.js` file to your page. - ### Load from CDN You can load specific version of package from [jsDelivr CDN](https://www.jsdelivr.com/package/npm/@editorjs/header). diff --git a/package.json b/package.json index d0d3f40..c46ae3c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@editorjs/header", - "version": "2.8.0", + "version": "2.8.1", "keywords": [ "codex editor", "header",