v0.14.4
facebook/lexicalv0.14.4Apr 16, 2024by acywatson
AI Summary
A comprehensive release including a major documentation upgrade to Docusaurus 3, experimental devtools features, and improvements to text and table formatting.
Key Highlights
- Upgraded to Docusaurus 3
- Added experimental TreeView rendering in DevTools
- Added TextNode support for font-weight bold
- Fixed table formatting persistence on new lines
- Exported IS_ and CAN_* environment constants from @lexical/utils
New Features
- Export 'IS_' and 'CAN_*' environment constants from @lexical/utils
- TreeView rendering in devtools
- TextNode font-weight support
Full Release Notes
## What's Changed * Fix failing WWW build by @thegreatercurve in https://github.com/facebook/lexical/pull/5826 * feat: export 'IS_' and 'CAN_*' environment constants from @lexical/utils by @etrepum in https://github.com/facebook/lexical/pull/5831 * Add missing flow type parameters for insertNewAfter by @Sahejkm in https://github.com/facebook/lexical/pull/5832 * fix: webpack needs its own export condition by @etrepum in https://github.com/facebook/lexical/pull/5833 * Use unnamed ESM imports for Prism modules by @thegreatercurve in https://github.com/facebook/lexical/pull/5828 * chore: upgrade to docusaurus 3 by @etrepum in https://github.com/facebook/lexical/pull/5838 * Use updated docRoot count in removeRootElementEvents by @thegreatercurve in https://github.com/facebook/lexical/pull/5847 * Fix #5620 Persist format at paragraph level for new line by @Sahejkm in https://github.com/facebook/lexical/pull/5822 * Fix issue with removing selectionchange correctly by @thegreatercurve in https://github.com/facebook/lexical/pull/5848 * Playground - Clear Format button fix by @ManuelOjedaWz in https://github.com/facebook/lexical/pull/5849 * feat(@lexical/devtools): Added TreeView rendering instead of a simple textarea by @StyleT in https://github.com/facebook/lexical/pull/5830 * Fix bug with typeahead positioning by @thegreatercurve in https://github.com/facebook/lexical/pull/5859 * Revert "feat(@lexical/devtools): Added TreeView rendering instead of a simple textarea" by @thegreatercurve in https://github.com/facebook/lexical/pull/5861 * Revert "Revert "feat(@lexical/devtools): Added TreeView rendering instead of a simple textarea"" by @thegreatercurve in https://github.com/facebook/lexical/pull/5864 * Add missing rewrite of utils import by @thegreatercurve in https://github.com/facebook/lexical/pull/5866 * TextNode support font-weight bold by @zurfyx in https://github.com/facebook/lexical/pull/5852 * Replace async arrow with function by @zurfyx in https://github.com/facebook/lexical/pull/5870 * Fix #5663 styling from td not persisted on copy paste by @Sahejkm in https://github.com/facebook/lexical/pull/5855 * fix test failing after rebase on bug fix for multiple text nodes styles in a cell node by @Sahejkm in https://github.com/facebook/lexical/pull/5872 * fix #4468 Preserv elemement text align format on new paragraph creation by @Sahejkm in https://github.com/facebook/lexical/pull/5878 * fix(playground): wrong logic for FloatingLinkEditorPlugin bad node by @agriffis in https://github.com/facebook/lexical/pull/5814 * feat: use dev/prod conditions instead of webpack in exports by @etrepum in https://github.com/facebook/lexical/pull/5858 * docs: fix typedoc links and add missing packages by @etrepum in https://github.com/facebook/lexical/pull/5850 * Fix nested typo in README by @zheckert in https://github.com/facebook/lexical/pull/5892 * Fix broken style for node overrides example on docs by @2wheeh in https://github.com/facebook/lexical/pull/5890 * Bump publish scripts to v4 by @ivailop7 in https://github.com/facebook/lexical/pull/5817 * Remove a special case in table deleteTextHandler by @AlexanderReznik in https://github.com/facebook/lexical/pull/5891 * feat(@lexical/devtools): Extracted store/messaging implementation to the separate packages by @StyleT in https://github.com/facebook/lexical/pull/5894 * Fix #3456 stale selection state after clear format by @Sahejkm in https://github.com/facebook/lexical/pull/5896 * fix(lexical/createEditor): avoid implicit any type by @jason89521 in https://github.com/facebook/lexical/pull/5889 * Remove unnecessary type assertions from useReport.ts by @2wheeh in https://github.com/facebook/lexical/pull/5884 * Refine useDecorators type by @zurfyx in https://github.com/facebook/lexical/pull/5846 ## New Contributors * @ManuelOjedaWz made their first contribution in https://github.com/facebook/lexical/pull/5849 * @zheckert made their first contribution in https://github.com/facebook/lexical/pull/5892 **Full Changelog**: https://github.com/facebook/lexical/compare/v0.14.3...v0.14.4