v0.11.2

facebook/lexicalv0.11.2Jul 11, 2023by zurfyx

AI Summary

A feature-heavy release focusing on accessibility improvements, clipboard fixes, and enhanced table selection capabilities.

Key Highlights

  • Improved error messages for JSON export
  • Fixed accessibility (a11y) for ContentEditable
  • Added comprehensive Clipboard documentation
  • Improved table selection keyboard controls

New Features

  • Added `EditorRef` plugin
  • Added playground inline image plugin
  • Added video links to Getting Started documentation
  • Added error formatting parameters

Full Release Notes

## v0.11.2 (2023-07-11)

## Changelog

* Better Error Message for exportJSON type by @howlowck in https://github.com/facebook/lexical/pull/4556
* Another approach to fixing the className cache by @acywatson in https://github.com/facebook/lexical/pull/4582
* Fix a11y for ContentEditable by @maximshipko in https://github.com/facebook/lexical/pull/4580
* Allow native shift+arrow selection work over decorator nodes by @thegreatercurve in https://github.com/facebook/lexical/pull/4584
* use selection from state in insertNodeToNearestRoot and insertNodes by @kalvin807 in https://github.com/facebook/lexical/pull/4570
* Fix uuid bug in `AutocompleteNode.clone()` by @msdrigg in https://github.com/facebook/lexical/pull/4592
* Fix MenuTypeahead position by @aleksandr-kiliushin in https://github.com/facebook/lexical/pull/4597
* Update nodes.md by @navanshu in https://github.com/facebook/lexical/pull/4598
* mouseenter event typo fix by @agentraghav in https://github.com/facebook/lexical/pull/4588
* Add vercel analytics script by @acywatson in https://github.com/facebook/lexical/pull/4604
* Fix iOS newline insertion by @fantactuka in https://github.com/facebook/lexical/pull/4603
* TextNode docs by @acywatson in https://github.com/facebook/lexical/pull/4606
* fix: freeze get style object in DEV env to avoid mutations by @JatinRanka in https://github.com/facebook/lexical/pull/4616
* Don't throw error on format element by @thegreatercurve in https://github.com/facebook/lexical/pull/4611
* fix issue with dead keys (i.e. backticks) when converting markdown by @mbongard in https://github.com/facebook/lexical/pull/4620
* Fix issue with syncing yjs changes to Lexical by @ebads67 in https://github.com/facebook/lexical/pull/4621
* Add error formating params by @fantactuka in https://github.com/facebook/lexical/pull/4627
* Add clipboard documentation by @acywatson in https://github.com/facebook/lexical/pull/4631
* Add error formating params by @fantactuka in https://github.com/facebook/lexical/pull/4629
* Add missing ExportDOM to CodeNode by @ivailop7 in https://github.com/facebook/lexical/pull/4637
* Import alignment for Heading and Blockquote by @ivailop7 in https://github.com/facebook/lexical/pull/4625
* Fix ContentEditable Flow types by @zurfyx in https://github.com/facebook/lexical/pull/4652
* Check for specific excluded props by @fantactuka in https://github.com/facebook/lexical/pull/4655
* Fix reconciler recovery listeners by @fantactuka in https://github.com/facebook/lexical/pull/4654
* Fix clipboard if content editable is in an iframe. by @imdreamrunner in https://github.com/facebook/lexical/pull/4649
* Add columns next to selection by @PeterBul in https://github.com/facebook/lexical/pull/4663
* Normalize select all on NodeSelection by @zurfyx in https://github.com/facebook/lexical/pull/4664
* Override selectall on RangeSelection by @zurfyx in https://github.com/facebook/lexical/pull/4671
* feat: playground inline image plugin by @58bits in https://github.com/facebook/lexical/pull/4423
* Fix dropdown menu position in playground when scroll by @xinyuan0801 in https://github.com/facebook/lexical/pull/4496
* Remove delay from flakey E2E test by @thegreatercurve in https://github.com/facebook/lexical/pull/4676
* Remove outdated examples by @thegreatercurve in https://github.com/facebook/lexical/pull/4684
* Preserving language and indentation of code block when serialized/deserialized by @ebads67 in https://github.com/facebook/lexical/pull/4682
* Additional fix for editor._window in lexical-clipboard by @imdreamrunner in https://github.com/facebook/lexical/pull/4686
* Swap noopener for noreferrer by @acconrad in https://github.com/facebook/lexical/pull/4690
* Allow table selection when cells are already selected by @PeterBul in https://github.com/facebook/lexical/pull/4699
* correction : line 47 - create -> update by @abhishekkumar35 in https://github.com/facebook/lexical/pull/4704
* Table selection keyboard controls by @fantactuka in https://github.com/facebook/lexical/pull/4689
* Keeping local comments and sharedCommentsArray orders in sync by @ebads67 in https://github.com/facebook/lexical/pull/4721
* Image resizer fix by @fantactuka in https://github.com/facebook/lexical/pull/4722
* Fix: Use $createListItemNode within importJSON to override on deserialization by @kazukinagata in https://github.com/facebook/lexical/pull/4717
* Improve md error message by @acywatson in https://github.com/facebook/lexical/pull/4710
* Fixed drop down buttons to prevent sumbit by @Ou7law007 in https://github.com/facebook/lexical/pull/4727
* Show excalidraw edit button by @IBastawisi in https://github.com/facebook/lexical/pull/4731
* Context Menu Options Added by @Shubhankerism in https://github.com/facebook/lexical/pull/4713
* Remove instanceof checks in onPasteForPlainText by @acywatson in https://github.com/facebook/lexical/pull/4737
* Fix code block export by @fantactuka in https://github.com/facebook/lexical/pull/4702
* Fix multi-line token parsing by @fantactuka in https://github.com/facebook/lexical/pull/4741
* Add RangeSelection docs by @acywatson in https://github.com/facebook/lexical/pull/4742
* Fix flowtypes for cut/copy commands by @fantactuka in https://github.com/facebook/lexical/pull/4746
* Add EditorRef plugin by @acywatson in https://github.com/facebook/lexical/pull/4747
* Allow preventing text drag by @fantactuka in https://github.com/facebook/lexical/pull/4749
* Add selection adjustments for node removal by @fantactuka in https://github.com/facebook/lexical/pull/4745
* Fix missing token type by @fantactuka in https://github.com/facebook/lexical/pull/4751
* Add video links to Getting Started docs by @acywatson in https://github.com/facebook/lexical/pull/4752
* Fix $transferStartingElementPointToTextPoint() by @amyworrall in https://github.com/facebook/lexical/pull/4756
* Fixes broken trunk by @fantactuka in https://github.com/facebook/lexical/pull/4763
* Flow key down command by @zurfyx in https://github.com/facebook/lexical/pull/4766
* Reset editor state when setting null root by @fantactuka in https://github.com/facebook/lexical/pull/4762
* Update listeners.md by @mohammadreza490 in https://github.com/facebook/lexical/pull/4768

## New Contributors
* @maximshipko made their first contribution in https://github.com/facebook/lexical/pull/4580
* @kalvin807 made their first contribution in https://github.com/facebook/lexical/pull/4570
* @msdrigg made their first contribution in https://github.com/facebook/lexical/pull/4592
* @navanshu made their first contribution in https://github.com/facebook/lexical/pull/4598
* @agentraghav made their first contribution in https://github.com/facebook/lexical/pull/4588
* @JatinRanka made their first contribution in https://github.com/facebook/lexical/pull/4616
* @mbongard made their first contribution in https://github.com/facebook/lexical/pull/4620
* @imdreamrunner made their first contribution in https://github.com/facebook/lexical/pull/4649
* @PeterBul made their first contribution in https://github.com/facebook/lexical/pull/4663
* @58bits made their first contribution in https://github.com/facebook/lexical/pull/4423
* @acconrad made their first contribution in https://github.com/facebook/lexical/pull/4690
* @abhishekkumar35 made their first contribution in https://github.com/facebook/lexical/pull/4704
* @kazukinagata made their first contribution in https://github.com/facebook/lexical/pull/4717
* @Ou7law007 made their first contribution in https://github.com/facebook/lexical/pull/4727
* @amyworrall made their first contribution in https://github.com/facebook/lexical/pull/4756
* @mohammadreza490 made their first contribution in https://github.com/facebook/lexical/pull/4768

**Full Changelog**: https://github.com/facebook/lexical/compare/v0.11.1...v0.11.2