Skip to content

Commit 62425d7

Browse files
authored
Feature/renaming (#12)
* Rename all occurences * 2.4.0 * Update packages * Fix dev command * Fix quotes * Rename repo * Create .npmignore
1 parent b17a516 commit 62425d7

8 files changed

Lines changed: 1130 additions & 6069 deletions

File tree

.npmignore

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

README.md

Lines changed: 10 additions & 10 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

3-
# Code Tool for CodeX Editor
3+
# Code Tool for Editor.js
44

5-
Code Tool for the [CodeX Editor](https://ifmo.su/editor) allows to include code examples in your articles.
5+
Code Tool for the [Editor.js](https://ifmo.su/editor) allows to include code examples in your articles.
66

77
![](https://capella.pics/77cc593f-0384-4df2-b9d1-d9c7d6d96b7d.jpg/cover/eff2f5)
88

@@ -13,13 +13,13 @@ Code Tool for the [CodeX Editor](https://ifmo.su/editor) allows to include code
1313
Get the package
1414

1515
```shell
16-
npm i --save-dev codex.editor.code
16+
npm i --save-dev @editorjs/code
1717
```
1818

1919
Include module at your application
2020

2121
```javascript
22-
const CodeTool = require('codex.editor.code');
22+
const CodeTool = require('@editorjs/code');
2323
```
2424

2525
### Download to your project's source dir
@@ -29,22 +29,22 @@ const CodeTool = require('codex.editor.code');
2929

3030
### Load from CDN
3131

32-
You can load specific version of package from [jsDelivr CDN](https://www.jsdelivr.com/package/npm/codex.editor.code).
32+
You can load specific version of package from [jsDelivr CDN](https://www.jsdelivr.com/package/npm/@editorjs/code).
3333

34-
`https://cdn.jsdelivr.net/npm/codex.editor.code@2.0.0`
34+
`https://cdn.jsdelivr.net/npm/@editorjs/code@2.0.0`
3535

36-
Require this script on a page with CodeX Editor.
36+
Require this script on a page with Editor.js.
3737

3838
```html
3939
<script src="..."></script>
4040
```
4141

4242
## Usage
4343

44-
Add a new Tool to the `tools` property of the CodeX Editor initial config.
44+
Add a new Tool to the `tools` property of the Editor.js initial config.
4545

4646
```javascript
47-
var editor = CodexEditor({
47+
var editor = EditorJS({
4848
...
4949

5050
tools: {

dist/bundle.js

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

0 commit comments

Comments
 (0)