v0.36.2 is a bug fix release, primarily to fix a problem with the @lexical/headless
package.json that prevented the new @lexical/headless/dom
from being used as designed. It also includes several improvements and bug fixes such as the new SKIP_SELECTION_FOCUS_TAG
.
Highlights
Core:
- ๐ #7804 New
SKIP_SELECTION_FOCUS_TAG
to allow the update to set the DOM selection but not automatically ensure that the root element is focused - ๐งน #7870 devInvariant should warn in prod even if not in codes.json (only relevant for unreleased versions, npm releases, even nightly ones, have an up to date codes.json)
Clipboard:
- โ #7880 Copying from a collapsed selection no longer updates the clipboard (consistent with the browser's default behavior and other applications)
Markdown:
- โ
#7890 Ensure First Match is Used in
importTextMatchTransformer
Table: - โ
#7864 Handle accessing table selection following table deletion
Playground: - โ #7804 Improve focus management in toolbar DOM
- โ #7847 Table add-row button no longer hides horizontal scroll
React:
- โ #7843 Ensure selection listeners cleaned up from original owner document
HTML:
- ๐ #7859
$generateNodesFromDOM
now accepts anyParentNode
(not justDocument
) as input
Headless:
Docs:
- ๐ #7830 Add example for how to bootstrap collab ydoc on the server
- ๐ #7893 Export DOMConversion* types so that they are in the docs
- ๐งน #7881 Update to docusaurus v3.9.1
What's Changed
- v0.36.1 by @etrepum in #7871
- [*] Bug Fix: devInvariant should warn in prod even if not in codes.json by @etrepum in #7870
- [lexical-website] Chore: add example for how to bootstrap collab ydoc on the server by @james-atticus in #7830
- [lexical-playground] Bug Fix: Table add-row button no longer hides horizontal scroll by @niikkhilsharma in #7847
- Update examples for v0.36.1 by @etrepum in #7872
- [lexical-headless] Bug Fix: Fix types for @lexical/headless/dom and simplify npmToWwwName workaround by @etrepum in #7873
- [lexical-table] Bug Fix: Handle accessing table selection following table deletion by @patrick-atticus in #7864
- [lexical-headless][lexical-html] Bug Fix: Fix entrypoint for @lexical/headless/dom and generalize $generateNodesFromDOM by @etrepum in #7859
- [lexical-website] Chore: Update to docusaurus v3.9.1 by @etrepum in #7881
- [lexical-clipboard] Preventing copying empty string by @niikkhilsharma in #7880
- [lexical-react] Fix: ensure selection listeners cleaned up from original owner document by @james-atticus in #7843
- [lexical-markdown] Bug Fix: Ensure First Match is Used in
importTextMatchTransformer
by @jkjk822 in #7890 - [docs] Chore: Export DOMConversion* types so that they are in the docs by @etrepum in #7893
- [lexical][lexical-playground] Feature: Improve focus management in Toolbar and adds SKIP_SELECTION_FOCUS_TAG by @KaiPrince in #7804
New Contributors
- @niikkhilsharma made their first contribution in #7847
- @KaiPrince made their first contribution in #7804
Full Changelog: v0.36.1...v0.36.2