Skip to content

v2.0.0

Compare
Choose a tag to compare
@LudvigHz LudvigHz released this 10 Aug 19:46
· 500 commits to master since this release
46d8671

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