@editorjs/header 2.8.0 → 2.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +3 -20
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -6,36 +6,19 @@ Provides Headings Blocks for the [Editor.js](https://ifmo.su/editor).
6
6
 
7
7
  ## Installation
8
8
 
9
- ### Install via NPM
10
-
11
9
  Get the package
12
10
 
13
11
  ```shell
14
- npm i --save @editorjs/header
12
+ yarn add @editorjs/header
15
13
  ```
16
14
 
17
15
  Include module at your application
18
16
 
19
17
  ```javascript
20
- const Header = require('@editorjs/header');
18
+ import Header from '@editorjs/header';
21
19
  ```
22
20
 
23
- ### Download to your project's source dir
24
-
25
- 1. Upload folder `dist` from repository
26
- 2. Add `dist/bundle.js` file to your page.
27
-
28
- ### Load from CDN
29
-
30
- You can load specific version of package from [jsDelivr CDN](https://www.jsdelivr.com/package/npm/@editorjs/header).
31
-
32
- `https://cdn.jsdelivr.net/npm/@editorjs/header@latest`
33
-
34
- Then require this script on page with Editor.js.
35
-
36
- ```html
37
- <script src="..."></script>
38
- ```
21
+ Optionally, you can load this tool from CDN [JsDelivr CDN](https://cdn.jsdelivr.net/npm/@editorjs/header@latest)
39
22
 
40
23
  ## Usage
41
24
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@editorjs/header",
3
- "version": "2.8.0",
3
+ "version": "2.8.1",
4
4
  "keywords": [
5
5
  "codex editor",
6
6
  "header",