We’ve just released v0.5.1 of svelte-lexical, featuring important bug fixes and a default theme included in the npm package.
The default theme makes it more convenient to include the default theme for the editor and shell in your project. Instead of copying files manually, a single import statement can bring in all the required styles.
Here are the release notes:
- feat: default shell theme included in the library (svelte-lexical/dist/themes/default)
- feat: export functions for importing and exporting markdown
- feat: functions for importing and exporting HTML
- perf: remove unused styles
- bug: on Safari, the toolbar drop-down stops showing up when the toolbar overflows – fix #87
- bug: dropdown displays behind the backdrop of the insert column layout dialog
- bug: Code Action Menu doesn’t show up for any theme other than playground
- bug: update table action buttons to use theme-specific classes
- build: use pnpm 9 in the pipeline