svelte-lexical version 0.4.3 comes with the support of editing tables.
A new table can be inserted from the toolbar.
When focus is inside a cell, it shows a small button to launch the Action Menu
.
When you hover the last row or column, a button appears to quickly add rows and columns.
Here are the full release notes:
New Features
- feat: table support
- feat: add row and column buttons on table hover
- feat: enhance Insert Table Dialog with close button and improved layout
- feat: Table Menu for add row/column, delete, merge, cell color etc.
- feat: Action bar button to toggle editor read-only mode
Bugs
- bug: exception when turning debug view off and on #94
- bug: readonly editor but enabled toolbar buttons
- bug: editor loses focus after insert
Tests
- test: tag flaky tests and sort attributes
Build
- build: support for pnpm version 9