Skip to content

0.3.0

Compare
Choose a tag to compare
@umaranis umaranis released this 04 Apr 08:04
· 402 commits to master since this release
  • breaking: remove package richtext-editor-basic

New Features

  • feat: inline code format
  • feat: code block with syntax highlighting for 14 languages
  • feat: floating toolbar to copy and format code, close #33
  • perf: load prettier and its parsers on demand for code block (#34)
  • feat: AutoLinkPlugin - auto create links from url and email
  • feat: support for link / URL nodes; pasted links are converted to Link Nodes
  • feat: floating link editor
  • feat: Insert link command for toolbar
  • feat: working plaintext editor demo
  • feat: support for plaintext editor in playground
  • feat: keyboard support in toolbar DropDown menus
  • feat: show keyboard shortcuts for undo/redo button (OS specific)
  • feat: replace platform select control with custom html components in the toolbar
  • feat: make toolbar configurable (add/remove commands)
  • feat: update toolbar commands to work with active editor (useful with nested editors)

Build Enhancements

  • build: only es module (no UMD) for svelte-lexical to support code splitting
  • build: fix all lint and svelte-check issues
  • build: run build script in CI for svelte-lexical and demo projects
  • build: show error on using console (eslint no-console)
  • build: ts-ignore lint issue with typing inside svelte html
  • refactor: use TypeScript for all svelte files

Bug Fixes

  • bug: ssr changes broke image drag/drop, fix #24
  • bug: DropDown not supporting SSR (fix #36)
  • bug: wrong icons for Outdent and Indent commands on the toolbar, fix #31
  • bug: include split page html into the prod build for playground package

Testing

  • test: commands for running tests on different browsers, OS and app settings
  • test: also run on linux in CI
  • test: also run on mac in CI
  • test: run collab tests in CI on windows, macos and linux
  • test: prettier autoload plugins not working with pnpm, fix #25
  • test: new tests for list, code block and keyword plugins