v0.27.2

facebook/lexicalv0.27.2Mar 11, 2025by etrepum

AI Summary

A patch release addressing a prismjs security vulnerability (CVE) and fixing touch-related issues in table interactions.

Key Highlights

  • Updated prismjs dependency to version 1.30.0.
  • Added touch support for table cell selection and resizer.
  • Fixed unintended touch selection when scrolling within tables.

New Features

  • Table cell selection handler for touch devices.
  • Improved touch responsiveness in table row resizing.

Full Release Notes

v0.27.2 is an ad-hoc patch release to address the prismjs CVE (#7313). The way Lexical uses prismjs should not trigger that issue even in previous versions as it doesn't insert user generated HTML with "id" tags or use the autoloader plug-in, but it's good practice to keep up with security updates either way.

## Highlights

Code:

* ✅  #7313 Update prismjs dependency to 1.30.0

Collab:

* ✅ #7295 Prevent collab element nodes from removing other nodes from node map

Table:

* 🆕  #7297 Add table cell selection handler for touch devices
* ✅ #7309 Fix unintended touch table cell selection when scrolling

Playground:

* 🆕 #7299 Add touch support for TableCellResizer
* ✅ #7305 Fix row height resizing for merged cells

## What's Changed
* v0.27.1 by @etrepum in https://github.com/facebook/lexical/pull/7288
* [lexical-website] Bug Fix: Fix vite.config.ts for gallery examples by @etrepum in https://github.com/facebook/lexical/pull/7290
* [lexical-yjs] Bug Fix: prevent collab element nodes from removing other nodes from node map by @james-atticus in https://github.com/facebook/lexical/pull/7295
* [lexical-playground] Feature: Add touch support for TableCellResizer by @ibastawisi in https://github.com/facebook/lexical/pull/7299
* [lexical-table] Add table cell selection handler for touch devices by @ibastawisi in https://github.com/facebook/lexical/pull/7297
* [lexical-playground] Bug Fix: row height resizing for merged cells by @kirandash in https://github.com/facebook/lexical/pull/7305
* [lexical-table] Bug Fix: Fix unintended touch table cell selection when scrolling by @ibastawisi in https://github.com/facebook/lexical/pull/7309
* [lexical-code] Chore: Update prismjs dependency to 1.30.0 by @etrepum in https://github.com/facebook/lexical/pull/7313


**Full Changelog**: https://github.com/facebook/lexical/compare/v0.27.1...v0.27.2