Releases: webkom/lego-editor
Releases · webkom/lego-editor
v2.4.0
v2.3.0
This is a minor, yet notable release! ✨
The aim was to modernize the editor and give it a beautiful retouch. It was much needed.
Thanks to the introduction of lego-bricks
, the editor now employs the same react components as in lego-webapp
. In addition to the new look, some minor bugs have been squashed and some minor features have been added.
Everything should be backwards compatible!
v2.2.0
This is a minor release with minimal changes and should be backwards compatible with the previous release.
Notable changes
- Slate is updated to version 0.94. This should improve stability and mobile support as well as allow for more features from plugins.
- Pressing TAB when the cursor is in front of the text in a list element will now indent the list element.
v2.1.0
v2.0.3
v2.0.2
v2.0.1
v2.0.0
BREAKING
- Upgraded from slate 0.57 to slate 0.82. This means that all plugins must be adapted to the new slate.js interfaces.
- CSS is now bundled in a single stylesheet. Before, you had to import several stylesheets. This can now be changed to:
import '@webkom/lego-editor/dist/style.css' // Also add the stylesheet from react-image-crop import 'react-image-crop/dist/ReactCrop.css'
Improvements
- Change from webpack to vite in dev. And use vite for packaging.
- The editor should now work on Android, thanks to a ton of improvements in slate.js