Important
This is a fork of codex-team/editor.js that is optimized to work with Automad. It tries to stay as close as possible to the upstream while being modified to fit Automad's requirements.
The v2.29
is the currently stable branch that is used in production. The branch next
has still too many issues and doesn't work reliably.
This fork diverges in some details that are only required in Automad.
Compare to upstream |
---|
- add option to sort block tunes 307f1e9
- fix position of inline toolbar inside nested editors 99d33da
- fix infinite re-rendering of actions inside inline toolbar 3d6ac02
From version 2.29
, all versions created from this fork should keep the tag from upstream that has been merged last with a -am.X
suffix appended. For example:
v2.29.0 -> v2.29.0-am.0
Note
Existing tags using the old version scheme that simply bumps the patch number are kept as well for reference.
In order to link the package to Automad during development forllow these steps:
cd /path/to/editorjs
npm link
cd /path/to/automad
npm uninstall automad-editorjs && npm link automad-editorjs
In order to remove the link:
cd /path/to/automad
npm unlink automad-editorjs
npm i -D automad-editorjs
cd /path/to/editorjs
npm unlink -g
You can find out more about the original upstrem project on GitHub and on the official documentation website.