If you want to help improving Editor.js, follow this guide to prepare local environment and start building.
We have a special Telegram-chat for core contributors where you can discuss any problems.
Make sure that you have installed Node.js environment and Yarn package manager. Otherwise you should install them.
You also need Git installed. Check out Atlassian's guide «Install GIt».
Firstly you need to get sources. Clone the repository via command line.
Or use buttons on the GitHub page.
Then go to the project's directory.
Get required dependencies by the following command.
Then pull submodules.
Ok, you are ready.
Use the following command to build Editor.js.
On local environment you can run build command in development mode with a watch flag. This way main bundle will be rebuilt on changes automatically.
example/example-dev.html in browser. Editor and Tools will be loaded from local scripts.
To publish some changes to Editorjs, please follow these steps:
- Make sure you have create or find Issue describes a problem that you resolve.
Create a branch for your changes. We recommend to use slash-separated naming convention. For example:
- Make your changes.
Increment a patch or minor version with postfix
-rc*.*.*in package.json file. For example:
- Commit your changes.
Open Pull Request to
- In a PR's description, tell about changes you make and attach corresponded issue.