npm @lexical/react 0.27.0
v0.27.0

latest release: 0.27.1-nightly.20250304.0
9 hours ago

v0.27.0 ad-hoc release to address v0.26.0 regressions.

Breaking Changes

Core:

  • #7270 - To handle platform differences and avoid piercing shadow roots, arrow key navigation for RangeSelection is now handled by lexical in more scenarios when crossing the boundaries of elements. This should only affect "exotic" custom element nodes such as TableNode. All code in @lexical/table has been updated accordingly, but if you have something like a custom table implementation then it may require additional updates (probably in the direction of removing workarounds rather than adding them).

Highlights

Core:

  • #7271 Fix invalid import from self
  • #7270 Address deleteLine regression in #7248

Playground:

  • #7273 Apply correct column headers when column contains vertically merged cells
  • 🆕 #7279 Add HR theme config for selected state

Utils:

  • #7275 Don't include parent's siblings when starting $dfs at last child

Collab/Table:

  • #7277 TableCellNode vertical align not syncing

What's Changed

  • v0.26.0 by @etrepum in #7265
  • [lexical] Bug Fix: invalid import from self by @AlessioGr in #7271
  • [Breaking Changes][lexical] Bug Fix: Address deleteLine regression in #7248 by @etrepum in #7270
  • [*] Chore: Refactor shared/invariant for easier dev debugging by @etrepum in #7269
  • [lexical-playground] Bug Fix: apply correct column headers when column contains vertically merged cells by @rilrom in #7273
  • [ci] Chore: Remove unused GITHUB_TOKEN secrets from workflows by @etrepum in #7209
  • chore: add no-imports-from-self eslint rule to monorepo by @AlessioGr in #7272
  • [lexical-utils] Bug Fix: don't include parent's siblings when starting $dfs at last child by @james-atticus in #7275
  • [lexical-table] Bug Fix: TableCellNode vertical align not syncing by @anhle1476 in #7277
  • [lexical-playground][lexical-react] Feature: add HR theme config for selected state by @RobHannay in #7279

New Contributors

Full Changelog: v0.26.0...v0.27.0

Don't miss a new react release

NewReleases is sending notifications on new releases.