-
-
Notifications
You must be signed in to change notification settings - Fork 295
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Rename all occurences * 2.1.0 * Update packages * Rename repo * Create .npmignore * Update README.md
- Loading branch information
Showing
11 changed files
with
5,159 additions
and
7,231 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
.idea/ | ||
dev/ | ||
src/ | ||
.babelrc | ||
.eslintrc | ||
webpack.config.js | ||
yarn.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
 | ||
 | ||
|
||
# Image Tool | ||
|
||
Image Block for the [CodeX Editor](https://ifmo.su/editor). | ||
Image Block for the [Editor.js](https://editorjs.io). | ||
|
||
 | ||
|
||
|
@@ -24,13 +24,13 @@ Image Block for the [CodeX Editor](https://ifmo.su/editor). | |
Get the package | ||
|
||
```shell | ||
npm i --save-dev codex.editor.image | ||
npm i --save-dev @editorjs/image | ||
``` | ||
|
||
Include module at your application | ||
|
||
```javascript | ||
const ImageTool = require('codex.editor.image'); | ||
const ImageTool = require('@editorjs/image'); | ||
``` | ||
|
||
### Download to your project's source dir | ||
|
@@ -40,18 +40,18 @@ const ImageTool = require('codex.editor.image'); | |
|
||
### Load from CDN | ||
|
||
You can load specific version of package from [jsDelivr CDN](https://www.jsdelivr.com/package/npm/codex.editor.image). | ||
You can load specific version of package from [jsDelivr CDN](https://www.jsdelivr.com/package/npm/@editorjs/image). | ||
|
||
`https://cdn.jsdelivr.net/npm/codex.editor.[email protected]` | ||
`https://cdn.jsdelivr.net/npm/@editorjs/[email protected]` | ||
|
||
Then require this script on page with CodeX Editor through the `<script src=""></script>` tag. | ||
Then require this script on page with Editor.js through the `<script src=""></script>` tag. | ||
|
||
## Usage | ||
|
||
Add a new Tool to the `tools` property of the CodeX Editor initial config. | ||
Add a new Tool to the `tools` property of the Editor.js initial config. | ||
|
||
```javascript | ||
var editor = CodexEditor({ | ||
var editor = EditorJS({ | ||
... | ||
|
||
tools: { | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.