v0.12.1

facebook/lexicalv0.12.1Sep 8, 2023by zurfyx

AI Summary

A bug fix release addressing font colors in tables, MaxLengthPlugin crashes, and various table operations.

Key Highlights

  • Fixed font colors not applying to text within table cells
  • Fixed MaxLengthPlugin crashing when the limit is reached and enter is pressed
  • Added column layout plugin example to the repository
  • Fixed table unmerge functionality

New Features

  • Added ElementFormatDropdown to the Toolbar plugin

Full Release Notes

## v0.12.1 (2023-09-07)

## Changelog

- Fix: font colors do not apply to text within table cells (#4934) Tahir Shakir
- fix #4526 (#4910) xyyjk
- fix: dispatching undo & redo states for collaboration; fixing up Point.getNode not a function (#4956) Nadine Nguyen
- Retain TextNode whitespace on export (#4969) Gerard Rovira
- Revert "Fix: fixes regex in YouTube AutoEmbedPlugin (#4916)" (#4966) Ivaylo Pavlov
- Fix: fixes regex in YouTube AutoEmbedPlugin (#4916) Rajat
- refactor: moved functions to `@lexical/utils` (#4923) Rajat
- refactor: remove redundant styles from floating text format plugin (#4938) VelociRaptor
- :bug: Fixed range selection splicing text (#4659) Steve Larson
- Added extra Yjs information to collaboration docs (#4951) Steven Fabre
- fix: disable spellcheck for code format (#4927) VelociRaptor
- Add column layout plugin example (#4937) Maksim Horbachevsky
- docs: fix example in getting-started/react (#4935) Mike
- Fix: MaxLengthPlugin crashes when the limit is reached and enter is pressed (#4871) Hansu Kim
- chore: prefer viewBox to width/height on SVG images (#4921) VelociRaptor
- Adds ElementFormatDropdown to the Toolbar plugin (#4904) itaquito
- Add iOS information to the website (#4899) amyworrall
- fix: Only append fragment when element is HTMLElement (#4490) lsbyerley
- Table unmerge (#4877) Peter Cook Bulukin
- Revert "Updated link markdown regex (#4461)" (#4896) Gerard Rovira
- Add missing flow def (#4889) Maksim Horbachevsky
- Handle undefined rows and columns in table utils after cell merge (#4874) Peter Cook Bulukin
- Updated link markdown regex (#4461) Ronald Langeveld
- Fix: Pressing enter now doesnot delete ImageNode from the ListItemNode (#4866) Takumi Uchida

## New Contributors
* @mathieumetral made their first contribution in https://github.com/facebook/lexical/pull/4811
* @anton-kostiuchkov made their first contribution in https://github.com/facebook/lexical/pull/4852
* @Dias1c made their first contribution in https://github.com/facebook/lexical/pull/4842
* @9larsons made their first contribution in https://github.com/facebook/lexical/pull/4672
* @TAKU1022 made their first contribution in https://github.com/facebook/lexical/pull/4866
* @ronaldlangeveld made their first contribution in https://github.com/facebook/lexical/pull/4461
* @lsbyerley made their first contribution in https://github.com/facebook/lexical/pull/4490
* @itaquito made their first contribution in https://github.com/facebook/lexical/pull/4904
* @khsily made their first contribution in https://github.com/facebook/lexical/pull/4871
* @mmollick made their first contribution in https://github.com/facebook/lexical/pull/4935
* @stevenfabre made their first contribution in https://github.com/facebook/lexical/pull/4951
* @k-rajat19 made their first contribution in https://github.com/facebook/lexical/pull/4923
* @nadine-nguyen made their first contribution in https://github.com/facebook/lexical/pull/4956

**Full Changelog**: https://github.com/facebook/lexical/compare/v0.11.3...v0.12.1