1
- ![ ] ( https://badgen.net/badge/CodeX%20Editor /v2.0/blue )
1
+ ![ ] ( https://badgen.net/badge/Editor.js /v2.0/blue )
2
2
3
3
# Image Tool
4
4
5
- Image Block for the [ CodeX Editor] ( https://ifmo.su/editor ) .
5
+ Image Block for the [ Editor.js ] ( https://editorjs.io ) .
6
6
7
7
![ ] ( https://capella.pics/63a03d04-3816-45b2-87b2-d85e556f0066.jpg )
8
8
@@ -24,13 +24,13 @@ Image Block for the [CodeX Editor](https://ifmo.su/editor).
24
24
Get the package
25
25
26
26
``` shell
27
- npm i --save-dev codex.editor. image
27
+ npm i --save-dev @editorjs/ image
28
28
```
29
29
30
30
Include module at your application
31
31
32
32
``` javascript
33
- const ImageTool = require (' codex.editor. image' );
33
+ const ImageTool = require (' @editorjs/ image' );
34
34
```
35
35
36
36
### Download to your project's source dir
@@ -40,18 +40,18 @@ const ImageTool = require('codex.editor.image');
40
40
41
41
### Load from CDN
42
42
43
- You can load specific version of package from [ jsDelivr CDN] ( https://www.jsdelivr.com/package/npm/codex.editor. image ) .
43
+ You can load specific version of package from [ jsDelivr CDN] ( https://www.jsdelivr.com/package/npm/@editorjs/ image ) .
44
44
45
- ` https://cdn.jsdelivr.net/npm/codex.editor. [email protected] `
45
+ ` https://cdn.jsdelivr.net/npm/@editorjs/ [email protected] `
46
46
47
- Then require this script on page with CodeX Editor through the ` <script src=""></script> ` tag.
47
+ Then require this script on page with Editor.js through the ` <script src=""></script> ` tag.
48
48
49
49
## Usage
50
50
51
- Add a new Tool to the ` tools ` property of the CodeX Editor initial config.
51
+ Add a new Tool to the ` tools ` property of the Editor.js initial config.
52
52
53
53
``` javascript
54
- var editor = CodexEditor ({
54
+ var editor = EditorJS ({
55
55
...
56
56
57
57
tools: {
0 commit comments