v0.17.1
facebook/lexicalv0.17.1Aug 27, 2024by ivailop7
AI Summary
A bug fix release focused on table stability, selection regression fixes, and cleanup of deprecated components. Includes fixes for table cut events and pasting behaviors.
Key Highlights
- Fixes for table cut event handling and race conditions
- Fixes for table selection with merged cells and pasting
- Refactor of `LexicalNode.afterCloneFrom` to simplify cloning
- Cleanup of deprecated editor components
- Fixes for list indentation and React Strict Mode issues
New Features
- Refactor of clone implementation
- Cleanup of deprecated components
Full Release Notes
## Highlights * Multiple fixes focused on table stability * Various cleans up and small refactors across the codebase ## What's Changed * v0.17.0 by @potatowagon in https://github.com/facebook/lexical/pull/6487 * [lexical-table] Bug Fix: Enable observer updates on table elements attributes change by @EugeneVorobyev in https://github.com/facebook/lexical/pull/6479 * [lexical] Bug Fix: Merge pasted paragraph into empty quote by @2wheeh in https://github.com/facebook/lexical/pull/6367 * [@lexical/playground] fix: block cursor show horizontal by @keiseiTi in https://github.com/facebook/lexical/pull/6486 * When creating a new check list, set the `checked` value of the list item to `false` instead of `undefined` by @amanharwara in https://github.com/facebook/lexical/pull/5978 * Revert "[@lexical/playground] fix: block cursor show horizontal" by @etrepum in https://github.com/facebook/lexical/pull/6490 * docs: prevent automatic `<p>` tag wrapping by @devy-bee in https://github.com/facebook/lexical/pull/6491 * [lexical] Feature: Add version identifier to LexicalEditor constructor by @etrepum in https://github.com/facebook/lexical/pull/6488 * [lexical-playground] Bug Fix: Update tooltip for redo button with correct macOS shortcut by @etrepum in https://github.com/facebook/lexical/pull/6497 * Flow: add more HTMLDivElementDOMProps by @zurfyx in https://github.com/facebook/lexical/pull/6500 * Fix splitText when detached by @zurfyx in https://github.com/facebook/lexical/pull/6501 * [lexical] Bug Fix: Fix decorator selection regression with short-circuiting by @etrepum in https://github.com/facebook/lexical/pull/6508 * [lexical] surface more error details in reconciler by @potatowagon in https://github.com/facebook/lexical/pull/6511 * [@lexical/selection] Feature: yield target to style patch fn by @mrdivyansh in https://github.com/facebook/lexical/pull/6472 * [lexical] Refactor: [RFC] LexicalNode.afterCloneFrom to simplify clone implementation by @etrepum in https://github.com/facebook/lexical/pull/6505 * [lexical-react] remove editor__DEPRECATED that has been deprecated for two years by @etrepum in https://github.com/facebook/lexical/pull/6494 * Fix OverflowNode configuration by @zurfyx in https://github.com/facebook/lexical/pull/6027 * [lexical-react] Fix: Fix React.startTransition on Webpack + React 17 by @turnerguo in https://github.com/facebook/lexical/pull/6517 * Revert "Fix OverflowNode configuration" by @etrepum in https://github.com/facebook/lexical/pull/6535 * [lexical-table] Bug Fix: Selection in tables with merged cells by @elbotho in https://github.com/facebook/lexical/pull/6529 * [*] Chore: Mark additional tests as flaky from #6535 test runs by @etrepum in https://github.com/facebook/lexical/pull/6536 * [lexical-list] Bug Fix: handle non-integer numbers in setIndent by @jrfitzsimmons in https://github.com/facebook/lexical/pull/6522 * Chore: change className props in TreeView component to optional by @reekystive in https://github.com/facebook/lexical/pull/6531 * [lexical-table] Fix a number of table Cut command scenarios by @ivailop7 in https://github.com/facebook/lexical/pull/6528 * [lexical-table] Stop selecting the whole table after pasting cells by @ivailop7 in https://github.com/facebook/lexical/pull/6539 * [lexical-yjs] Bug Fix: Properly sync when emptying document via undo by @moughxyz in https://github.com/facebook/lexical/pull/6523 * [lexical-react] Fix multiple node selection deletion by @ivailop7 in https://github.com/facebook/lexical/pull/6538 * [lexical-playground] Fix: in playground show component-menu when scroll by @keiseiTi in https://github.com/facebook/lexical/pull/6510 * Bug Fix: Fix issue where triple-clicking a cell would dangerously select entire document by @moughxyz in https://github.com/facebook/lexical/pull/6542 * [lexical-playground] Bug Fix: Fix firefox e2e test regression in Selection.spec.mjs by @etrepum in https://github.com/facebook/lexical/pull/6546 * [lexical-table][lexical-clipboard] Bug Fix: Race condition in table CUT_COMMAND by @etrepum in https://github.com/facebook/lexical/pull/6550 * [lexical-table] Fix table selection paste as plain text by @ivailop7 in https://github.com/facebook/lexical/pull/6548 * [lexical-table] Bug Fix: Append a ParagraphNode to each cell when unmerging by @kmslab20 in https://github.com/facebook/lexical/pull/6556 * [lexical] Add tests for HTMLConfig by @2wheeh in https://github.com/facebook/lexical/pull/5507 * [lexical-playground] Bug Fix: fix comment timestamps by @irahopkinson in https://github.com/facebook/lexical/pull/6555 * Revert "[lexical-playground] Fix: in playground show component-menu w… by @zurfyx in https://github.com/facebook/lexical/pull/6558 ## New Contributors * @EugeneVorobyev made their first contribution in https://github.com/facebook/lexical/pull/6479 * @keiseiTi made their first contribution in https://github.com/facebook/lexical/pull/6486 * @devy-bee made their first contribution in https://github.com/facebook/lexical/pull/6491 * @mrdivyansh made their first contribution in https://github.com/facebook/lexical/pull/6472 * @turnerguo made their first contribution in https://github.com/facebook/lexical/pull/6517 * @elbotho made their first contribution in https://github.com/facebook/lexical/pull/6529 * @jrfitzsimmons made their first contribution in https://github.com/facebook/lexical/pull/6522 * @reekystive made their first contribution in https://github.com/facebook/lexical/pull/6531 * @moughxyz made their first contribution in https://github.com/facebook/lexical/pull/6523 * @kmslab20 made their first contribution in https://github.com/facebook/lexical/pull/6556 **Full Changelog**: https://github.com/facebook/lexical/compare/v0.17.0...v0.17.1