Skip to content

Commit d5edae3

Browse files
authored
Feature/renaming (editor-js#13)
* Rename all occurences * 2.1.0 * Update packages * Rename repo * Create .npmignore * Update README.md
1 parent ff065f6 commit d5edae3

File tree

11 files changed

+5159
-7231
lines changed

11 files changed

+5159
-7231
lines changed

.npmignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.idea/
2+
dev/
3+
src/
4+
.babelrc
5+
.eslintrc
6+
webpack.config.js
7+
yarn.lock

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
![](https://badgen.net/badge/CodeX%20Editor/v2.0/blue)
1+
![](https://badgen.net/badge/Editor.js/v2.0/blue)
22

33
# Image Tool
44

5-
Image Block for the [CodeX Editor](https://ifmo.su/editor).
5+
Image Block for the [Editor.js](https://editorjs.io).
66

77
![](https://capella.pics/63a03d04-3816-45b2-87b2-d85e556f0066.jpg)
88

@@ -24,13 +24,13 @@ Image Block for the [CodeX Editor](https://ifmo.su/editor).
2424
Get the package
2525

2626
```shell
27-
npm i --save-dev codex.editor.image
27+
npm i --save-dev @editorjs/image
2828
```
2929

3030
Include module at your application
3131

3232
```javascript
33-
const ImageTool = require('codex.editor.image');
33+
const ImageTool = require('@editorjs/image');
3434
```
3535

3636
### Download to your project's source dir
@@ -40,18 +40,18 @@ const ImageTool = require('codex.editor.image');
4040

4141
### Load from CDN
4242

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).
4444

45-
`https://cdn.jsdelivr.net/npm/codex.editor.[email protected]`
45+
`https://cdn.jsdelivr.net/npm/@editorjs/[email protected]`
4646

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.
4848

4949
## Usage
5050

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.
5252

5353
```javascript
54-
var editor = CodexEditor({
54+
var editor = EditorJS({
5555
...
5656

5757
tools: {

dist/bundle.js

Lines changed: 31 additions & 31 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)