Skip to content

Releases: webkom/lego-editor

v2.3.0

06 Nov 00:06
cd868f1
Compare
Choose a tag to compare

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

07 May 08:50
8f84d50
Compare
Choose a tag to compare

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

15 Mar 11:53
cbabbcd
Compare
Choose a tag to compare

New features

  • The editor now supports strikethrough text (#741)

Fixes

  • Fix paragraph overflow on long words (#765)
  • Fix invisible text in link input when using dark mode (#647)

v2.0.3

12 Aug 20:06
ce27d89
Compare
Choose a tag to compare

FIxes

  • Fixes a regression from v1.x.x where the serializer would crash in non-browser environments, like JSDOM, due to the use of constants defined in the DOM API.

v2.0.2

11 Aug 20:39
15cf074
Compare
Choose a tag to compare

Fixes

  • Correct more z-index issues
  • Re-add missing returndata from imageupload callback in image plugin

v2.0.1

10 Aug 22:25
b1e391f
Compare
Choose a tag to compare

Fixes

  • Fix build definition and add UMD build
  • Fix z-index issue in the toolbar. Previously, the toolbar would be below the editor content.

v2.0.0

10 Aug 19:46
46d8671
Compare
Choose a tag to compare

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

v1.3.4

20 Apr 11:07
c473fbc
Compare
Choose a tag to compare

Fixes a regression in v.1.3.3

v1.3.3

20 Apr 10:56
2522a8b
Compare
Choose a tag to compare

Improvements

  • #315 Improve link validation and add support for mailto: links.

Other

  • Various dependency bumps

v1.3.0

19 Jan 17:33
Compare
Choose a tag to compare

New features

  • Inputting links has been revised with a completely new component that should be a lot smoother and easy to use than the existing one.
  • Support for darkmode!
    A new prop darkmode has been added to enable this.

Changes

  • ts-loader is now being used the development app.
  • The example project is now linted, the same as the package source files.