From ad93fe6b9917ff54d9f84e965c8dd785f5b021e2 Mon Sep 17 00:00:00 2001 From: Lexical GitHub Actions Bot <> Date: Thu, 25 Jun 2026 19:34:54 +0000 Subject: [PATCH] v0.46.0 --- CHANGELOG.md | 105 ++++++++++++++++++ examples/agent-example/package.json | 16 +-- examples/extension-react-table/package.json | 18 +-- .../package.json | 26 ++--- .../package.json | 18 +-- .../extension-vanilla-tailwind/package.json | 16 +-- examples/markdown-editor/package.json | 20 ++-- examples/nextjs-code-shiki/package.json | 18 +-- examples/node-replacement/package.json | 8 +- examples/node-state-style/package.json | 18 +-- examples/react-plain-text/package.json | 6 +- examples/react-rich-collab/package.json | 10 +- examples/react-rich/package.json | 8 +- examples/react-table/package.json | 10 +- examples/vanilla-js-iframe/package.json | 12 +- examples/vanilla-js-plugin/package.json | 12 +- examples/vanilla-js/package.json | 12 +- examples/website-chat/package.json | 12 +- examples/website-notion/package.json | 18 +-- examples/website-rich-input/package.json | 14 +-- examples/website-toolbar/package.json | 16 +-- package.json | 2 +- packages/lexical-clipboard/package.json | 2 +- packages/lexical-code-core/package.json | 2 +- packages/lexical-code-prism/package.json | 2 +- packages/lexical-code-shiki/package.json | 2 +- packages/lexical-code/package.json | 2 +- packages/lexical-devtools-core/package.json | 2 +- packages/lexical-devtools/package.json | 2 +- packages/lexical-dragon/package.json | 2 +- .../package.json | 2 +- packages/lexical-eslint-plugin/package.json | 2 +- packages/lexical-extension/package.json | 2 +- packages/lexical-file/package.json | 2 +- packages/lexical-hashtag/package.json | 2 +- packages/lexical-headless/package.json | 2 +- packages/lexical-history/package.json | 2 +- packages/lexical-html/package.json | 2 +- packages/lexical-internal/package.json | 2 +- packages/lexical-link/package.json | 2 +- packages/lexical-list/package.json | 2 +- packages/lexical-mark/package.json | 2 +- packages/lexical-markdown/package.json | 2 +- packages/lexical-offset/package.json | 2 +- packages/lexical-overflow/package.json | 2 +- packages/lexical-plain-text/package.json | 2 +- packages/lexical-playground/package.json | 2 +- packages/lexical-react/package.json | 2 +- packages/lexical-rich-text/package.json | 2 +- packages/lexical-selection/package.json | 2 +- packages/lexical-table/package.json | 2 +- packages/lexical-tailwind/package.json | 2 +- packages/lexical-text/package.json | 2 +- packages/lexical-utils/package.json | 2 +- packages/lexical-website/package.json | 2 +- packages/lexical-yjs/package.json | 2 +- packages/lexical/package.json | 2 +- .../lexical-esm-astro-react/package.json | 8 +- .../lexical-link-source-mode/package.json | 2 +- scripts/error-codes/codes.json | 32 +++++- 60 files changed, 321 insertions(+), 186 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1e4ebfd38a6..31b555748f3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,108 @@ +## v0.46.0 (2026-06-25) + +- lexical Bug Fix Ignore beforeinput and input events in captured decorators (#8740) Bob Ippolito +- lexical Modernize Flow type-stub syntax rejected by fb-www flow strict (#8742) Sherry +- lexical Bug Fix Refactor class inheritance loops to use an inheritsLoose-safe helper (#8739) Bob Ippolito +- lexical Refactor Improve error messages for invalid node classes and cache getStaticNodeConfig (#8735) Bob Ippolito +- lexical-utilslexical-react Chore Move getScrollParent to lexicalutils (#8733) mayrang +- lexical Feature Support DOM shadow roots via platform selection APIs (#8694) mayrang +- lexical Bug Fix Normalize non-inline nodes when inserting into inline-only parents (#8715) Bob Ippolito +- lexical-utils Add dedupeSelectionRects fix duplicateextra selection rects on WebKit (#7106, #7492) (#8709) Provi +- lexical-markdown Bug Fix Preserve inline formatting when wrapping already-formatted text with matching markers (#8728) Koki Sato +- fix(lexical) guard klass.prototype null check in getStaticNodeConfig (#8726) Sherry +- lexical-plain-textlexical-rich-text Bug Fix Refresh iOS keyboard suggestion bar after Backspace for all locales (#8725) Sergey Gorbachev +- lexical-markdown Bug Fix Inline code spans containing backticks (#8723) Baptiste Jamin +- lexicallexical-rich-textlexical-clipboard Bug Fix Named-slot typing Backspace Copy hydrate paths (#8716) mayrang +- lexical-mark Chore Widen MarkNode method return types to boolean (#8717) Patrick Moody +- lexical-playground Bug Fix Render PageBreakNode as hr so Safari fires beforeinput after paste (#8719) mayrang +- Refactor Migrate editor.getEditorState().read(...) to editor.read(latest, ...) (#8703) Bob Ippolito +- lexical-reactlexical-playground Refactor Replace react-error-boundary with a self-contained LexicalErrorBoundary (#8720) Bob Ippolito +- lexical-reactlexical-linklexical-historylexical-extension Docs API doc coverage of react exports (#8714) Bob Ippolito +- lexical Bug Fix Insert nodes at the block cursor inside a shadow root (#8708) Bob Ippolito +- lexical-link Bug Fix Preserve LinkNode wrap on copy in FirefoxSafari (#8705) mayrang +- Breaking Changeslexical-linklexical-listlexical-react Chore Remove a subset of v0.32.1-deprecated exports (#8704) Bob Ippolito +- lexical-clipboard Bug Fix Correct type-checking (#8706) Sergey Gorbachev +- Breaking Changeslexicallexical-yjslexical-clipboardlexical-htmllexical-playground Feature Named slots (#8603) mayrang +- lexical-playground Bug Fix Preserve block equation markdown (#8562) Vivek JM +- lexical Bug Fix Recheck text node contents on deletion with composition (#8701) EWS +- lexical Feature Replace LexicalEditor.readPending with editor.read(mode, fn) overload (#8702) Bob Ippolito +- lexical-playground Bug Fix CodeBlock layout-exit e2e expected HTML (#8695) mayrang +- Breaking Changelexical Fix Preserve the first linebreak when passing inline nodes to insertNodes and add data-lexical-managed-linebreak attribute to managed linebreaks (#8615) Sergey Gorbachev +- lexical Chore Remove unused tmp dependency (#8693) Noritaka Kobayashi +- lexical Bug Fix Reuse the empty trailing block when typing at root last-offset selection (#8686) mayrang +- lexical-markdown Bug Fix code spans should bind tighter than text-match transformers (#8688) Bob Ippolito +- lexical-utilslexical-playground Bug Fix Double paragraph creation when exiting a nested code block (#8684) Sergey Gorbachev +- lexical-rich-textlexical-plain-text Spec hardening call event.preventDefault() in dragover for HTML5 DnD compliance (#8663) sahir +- lexical-react Refactor Use hook syntax in .js.flow files to better declare intent (#8682) Sam Zhou +- lexical-playground Bug Fix clear block alignment and indent with a collapsed selection but not a partial one (#8666) Achal Jhawar +- lexical-list Bug Fix Preserve previous DecoratorNode on Backspace at the start of a top-level list (#8676) mayrang +- lexical-markdown Bug Fix Update ordered list start when typing a marker before it (#8678) mayrang +- lexical Bug Fix Emit COMPOSITIONENDTAG from the Firefox onInput defer branch (#8680) mayrang +- Chore always use T syntax instead of ArrayT in TypeScript and Flow (#8675) Bob Ippolito +- lexical-table Bug Fix dont throw on stale table node keys in handleTableSelectionChangeCommand (#8674) Bob Ippolito +- ci Bug Fix Fix intermittent EACCES in Windows CI browser tests by pinning Vitest browser port (#8673) Bob Ippolito +- lexicallexical-utilslexical-extensionlexical-playground Feature SelectBlockExtension (#8532) Sergey Gorbachev +- lexical-dragon Bug Fix Handle makeChanges messages and the listener registration race (#8665) Bruno Prieto +- lexical Bug Fix stop infinite-update-loop detector over-firing on bounded activity (fast typing) (#8635) Sherry +- lexical Chore stop using deprecated traversal type parameters in tests (#8667) Bob Ippolito +- Breaking Changes Refactor Register DOMImportExtension rules implicitly via node extensions and make tree-shaking annotations effective (#8662) Bob Ippolito +- Breaking Changelexical Chore deprecate unsafe type parameters on node traversal methods (#8661) Bob Ippolito +- lexical-yjs Bug Fix Yjs desynchronizes after clearing all nodes (#8646) sahir +- lexicallexical-yjs Bug Fix avoid empty-paragraph echo and splice crash on collab undo (#6614) and dont preserve tags on non-dirty update (#8651) 0x1vn +- lexicallexical-react Bug Fix actually route the update-recursion guard through editor.onWarn end-to-end (follow-up to #8644) (#8658) Sherry +- lexical-yjs Bug Fix keep collab cursor at element end when decoding an out-of-range position (#8652) 0x1vn +- lexical-playground Bug Fix Fix the importmap of the esm proof of concept (#8655) Bob Ippolito +- lexical Feature add an onWarn editor hook and route the update-recursion guard through it (#8644) Sherry +- lexicallexical-historylexical-rich-textlexical-plain-text Feature Snapshot history before cutpaste operations (#8649) Bob Ippolito +- examples Chore Replace node-state-style with the dev-examples version (#8647) Bob Ippolito +- lexical-yjslexical-react Feature Render collab cursors via CSS custom Highlight API (#8550) Hamza Khuswan +- lexical-code-corelexical-playground Feature Create paragraph around the code node when navigating with the arrow keys (#8393) Sergey Gorbachev +- lexical Extend the config() protocol with accessor-based nominal typing (#8645) Bob Ippolito +- Chore require all changes to be backwards compatible (#8634) Sherry +- lexical-playground Chore Remove localhost1235 validation server code from ActionsPlugin (#8639) Bob Ippolito +- lexical Chore cover both devInvariant branches in update-recursion guard test (#8638) Sherry +- lexical-playground Chore De-flake collab Undo with collaboration on e2e test (#8637) Bob Ippolito +- Bug Fix Surface a clear error when TypeScript (5.2) cant read the package exports (#8628) Bob Ippolito +- lexical Bug Fix use devInvariant for update recursion guard to avoid reporting a recovered condition as an uncaught error (#8631) Sherry +- fix bump astro to 6.1.10 to resolve CVE-2026-45028 (#8566) freddymeta +- build(deps) bump vitest to 4.1.8 in examples (CVE-2026-47429) (#8633) xiezhenjia-meta +- build(deps) bump webpack-dev-server to 5.2.4 (CVE-2026-6402) (#8632) xiezhenjia-meta +- build(deps-dev) bump the dev-dependencies group across 1 directory with 29 updates (#8630) dependabotbot +- build(deps) bump huggingfacetransformers from 4.0.1 to 4.2.0 (#8629) dependabotbot +- build(deps) bump lucide-react from 0.503.0 to 1.17.0 (#8625) dependabotbot +- build(deps) bump shikijslangs from 3.23.0 to 4.2.0 (#8626) dependabotbot +- build(deps) bump yjs from 13.6.30 to 13.6.31 (#8624) dependabotbot +- build(deps) bump shikijsengine-javascript from 4.0.2 to 4.2.0 (#8622) dependabotbot +- build(deps-dev) bump the flow-and-hermes group with 5 updates (#8619) dependabotbot +- build(deps) bump rolluprollup-linux-x64-gnu from 4.52.0 to 4.61.0 (#8621) dependabotbot +- build(deps) bump the docusaurus-and-typedoc group with 2 updates (#8618) dependabotbot +- lexical Refactor assumeEditor now uses devInvariant instead of invariant to warn instead of throwing in prod (#8617) Bob Ippolito +- lexical-yjs Bug Fix Local range selection grows when collaborator (#8611) sahir +- revert(lexical) remove root-element carveout from #8613 (keep the typing test) (#8616) Sherry +- fix(lexical) reconcile DOM mutations targeting the root element (#8613) Sherry +- lexical-extensionlexical-reactlexical-playground Chore Add Vitest browser-mode tests via the Playwright runner (#8614) Bob Ippolito +- Include editor namespace in infinite-update-loop detector error (#8612) Sherry +- lexical-rich-text Bug Fix Caret stuck when block has no leading or trailing text (#8604) mayrang +- lexical-code-prismlexical-playground Feature Add Go to code language options (#8600) meaqua9420 +- lexical-code-shiki Bug Fix Set the unsupported syntax flag only once (#8606) Sergey Gorbachev +- lexical-playground Chore De-flake e2e timing- and history-dependent tests (#8595) Bob Ippolito +- lexical-playgroundlexical-website Feature Non-printing marks (#8592) (#8594) mayrang +- lexical-playground Bug Fix AutocompleteExtension wordlist returns the highest-priority completion (#8599) Bob Ippolito +- ci Bug Fix Trusted-publishing follow-ups (TTY-aware setup script, unify nightly, drop NPMTOKEN) (#8597) Bob Ippolito +- lexical-playground Feature Korean IME autocomplete with composition-idle ghost (#8574) mayrang +- lexical Bug Fix TabNode.setTextContent for Safari IME composition (#8598) mayrang +- lexicallexical-extensionlexical-markdownlexical-playgroundlexical-yjs Bug Fix Linear-time regexes, prototype-pollution guards, and faster CSS parsing (#8593) Bob Ippolito +- ci Refactor Consolidate release workflows npm trusted publishing (#8587) Bob Ippolito +- Breaking Changelexical Feature Generalize captured selection via setDOMUnmanaged(captureSelection) root lexicalKey stash (#8588) mayrang +- lexical-playgroundlexical-htmllexical-extension Refactor Migrate playground HTML importexport to the DOMImportExtension pipeline (#8590) Bob Ippolito +- lexical-link Bug Fix Skip link wrapping on paste for non-simple text nodes (#8513) abhishekvishwakarma007 +- fix(lexical-html) generateHtmlFromNodes should self-establish active-editor scope (back-compat for #8519) (#8589) Sherry +- lexicallexical-code-corelexical-code-prismlexical-code-shiki Chore Consolidate text tokenization through tokenizeRawText generateNodesFromRawText (#8579) Bob Ippolito +- lexical-playground Chore Audit and de-flake the e2e suite (remove all flaky tags) (#8585) Bob Ippolito +- build(deps-dev) bump tmp from 0.2.5 to 0.2.6 (#8573) dependabotbot +- v0.45.0 (#8580) Bob Ippolito +- v0.45.0 Lexical GitHub Actions Bot + ## v0.45.0 (2026-05-29) - cilexical Bug Fix Upgrade playwrighttest to 1.60.0 (#8582) Bob Ippolito diff --git a/examples/agent-example/package.json b/examples/agent-example/package.json index 9d4073d76b6..801fc3c88f3 100644 --- a/examples/agent-example/package.json +++ b/examples/agent-example/package.json @@ -1,7 +1,7 @@ { "name": "@lexical/agent-example", "private": true, - "version": "0.45.0", + "version": "0.46.0", "type": "module", "scripts": { "dev": "vite", @@ -14,13 +14,13 @@ }, "dependencies": { "@huggingface/transformers": "^4.0.1", - "@lexical/extension": "0.45.0", - "@lexical/history": "0.45.0", - "@lexical/react": "0.45.0", - "@lexical/rich-text": "0.45.0", - "@lexical/selection": "0.45.0", - "@lexical/utils": "0.45.0", - "lexical": "0.45.0", + "@lexical/extension": "0.46.0", + "@lexical/history": "0.46.0", + "@lexical/react": "0.46.0", + "@lexical/rich-text": "0.46.0", + "@lexical/selection": "0.46.0", + "@lexical/utils": "0.46.0", + "lexical": "0.46.0", "react": "^19.2.5", "react-dom": "^19.2.5" }, diff --git a/examples/extension-react-table/package.json b/examples/extension-react-table/package.json index b639fea2291..4c3671bf6ab 100644 --- a/examples/extension-react-table/package.json +++ b/examples/extension-react-table/package.json @@ -1,7 +1,7 @@ { "name": "@lexical/extension-react-table-example", "private": true, - "version": "0.45.0", + "version": "0.46.0", "type": "module", "scripts": { "dev": "vite", @@ -10,14 +10,14 @@ "preview": "vite preview" }, "dependencies": { - "@lexical/extension": "0.45.0", - "@lexical/history": "0.45.0", - "@lexical/react": "0.45.0", - "@lexical/rich-text": "0.45.0", - "@lexical/table": "0.45.0", - "@lexical/tailwind": "0.45.0", - "@lexical/utils": "0.45.0", - "lexical": "0.45.0", + "@lexical/extension": "0.46.0", + "@lexical/history": "0.46.0", + "@lexical/react": "0.46.0", + "@lexical/rich-text": "0.46.0", + "@lexical/table": "0.46.0", + "@lexical/tailwind": "0.46.0", + "@lexical/utils": "0.46.0", + "lexical": "0.46.0", "react": "^18.2.0", "react-dom": "^18.2.0" }, diff --git a/examples/extension-sveltekit-ssr-hydration/package.json b/examples/extension-sveltekit-ssr-hydration/package.json index 9cd5e4dde61..6aadd0b0da4 100644 --- a/examples/extension-sveltekit-ssr-hydration/package.json +++ b/examples/extension-sveltekit-ssr-hydration/package.json @@ -1,7 +1,7 @@ { "name": "extension-sveltekit-ssr-hydration", "private": true, - "version": "0.45.0", + "version": "0.46.0", "type": "module", "scripts": { "dev": "vite dev", @@ -17,17 +17,17 @@ "devDependencies": { "@eslint/compat": "^2.0.2", "@eslint/js": "^10.0.1", - "@lexical/clipboard": "0.45.0", - "@lexical/extension": "0.45.0", - "@lexical/headless": "0.45.0", - "@lexical/history": "0.45.0", - "@lexical/html": "0.45.0", - "@lexical/link": "0.45.0", - "@lexical/list": "0.45.0", - "@lexical/rich-text": "0.45.0", - "@lexical/table": "0.45.0", - "@lexical/tailwind": "0.45.0", - "@lexical/utils": "0.45.0", + "@lexical/clipboard": "0.46.0", + "@lexical/extension": "0.46.0", + "@lexical/headless": "0.46.0", + "@lexical/history": "0.46.0", + "@lexical/html": "0.46.0", + "@lexical/link": "0.46.0", + "@lexical/list": "0.46.0", + "@lexical/rich-text": "0.46.0", + "@lexical/table": "0.46.0", + "@lexical/tailwind": "0.46.0", + "@lexical/utils": "0.46.0", "@playwright/test": "^1.60.0", "@sveltejs/adapter-auto": "^6.1.1", "@sveltejs/kit": "^2.53.3", @@ -39,7 +39,7 @@ "eslint-config-prettier": "^10.1.8", "eslint-plugin-svelte": "^3.15.0", "globals": "^16.5.0", - "lexical": "0.45.0", + "lexical": "0.46.0", "playwright": "^1.60.0", "prettier": "^3.8.1", "prettier-plugin-svelte": "^3.5.0", diff --git a/examples/extension-vanilla-react-plugin-host/package.json b/examples/extension-vanilla-react-plugin-host/package.json index 42d3fdecfb3..6e12969b84c 100644 --- a/examples/extension-vanilla-react-plugin-host/package.json +++ b/examples/extension-vanilla-react-plugin-host/package.json @@ -1,7 +1,7 @@ { "name": "@lexical/extension-vanilla-react-plugin-host", "private": true, - "version": "0.45.0", + "version": "0.46.0", "type": "module", "scripts": { "dev": "vite", @@ -13,14 +13,14 @@ "startCommand": "npm i && npm run monorepo:dev" }, "dependencies": { - "@lexical/extension": "0.45.0", - "@lexical/history": "0.45.0", - "@lexical/list": "0.45.0", - "@lexical/react": "0.45.0", - "@lexical/rich-text": "0.45.0", - "@lexical/tailwind": "0.45.0", - "@lexical/utils": "0.45.0", - "lexical": "0.45.0" + "@lexical/extension": "0.46.0", + "@lexical/history": "0.46.0", + "@lexical/list": "0.46.0", + "@lexical/react": "0.46.0", + "@lexical/rich-text": "0.46.0", + "@lexical/tailwind": "0.46.0", + "@lexical/utils": "0.46.0", + "lexical": "0.46.0" }, "devDependencies": { "@tailwindcss/vite": "^4.2.1", diff --git a/examples/extension-vanilla-tailwind/package.json b/examples/extension-vanilla-tailwind/package.json index 6d346a19afa..de02a30372a 100644 --- a/examples/extension-vanilla-tailwind/package.json +++ b/examples/extension-vanilla-tailwind/package.json @@ -1,7 +1,7 @@ { "name": "@lexical/extension-vanilla-example", "private": true, - "version": "0.45.0", + "version": "0.46.0", "type": "module", "scripts": { "dev": "vite", @@ -13,13 +13,13 @@ "startCommand": "npm i && npm run monorepo:dev" }, "dependencies": { - "@lexical/extension": "0.45.0", - "@lexical/history": "0.45.0", - "@lexical/list": "0.45.0", - "@lexical/rich-text": "0.45.0", - "@lexical/tailwind": "0.45.0", - "@lexical/utils": "0.45.0", - "lexical": "0.45.0" + "@lexical/extension": "0.46.0", + "@lexical/history": "0.46.0", + "@lexical/list": "0.46.0", + "@lexical/rich-text": "0.46.0", + "@lexical/tailwind": "0.46.0", + "@lexical/utils": "0.46.0", + "lexical": "0.46.0" }, "devDependencies": { "@tailwindcss/vite": "^4.2.1", diff --git a/examples/markdown-editor/package.json b/examples/markdown-editor/package.json index accf9b9e871..0adbf1eb6b1 100644 --- a/examples/markdown-editor/package.json +++ b/examples/markdown-editor/package.json @@ -1,7 +1,7 @@ { "name": "@lexical/markdown-editor-example", "private": true, - "version": "0.45.0", + "version": "0.46.0", "type": "module", "scripts": { "dev": "vite", @@ -12,15 +12,15 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@lexical/extension": "0.45.0", - "@lexical/history": "0.45.0", - "@lexical/list": "0.45.0", - "@lexical/markdown": "0.45.0", - "@lexical/react": "0.45.0", - "@lexical/rich-text": "0.45.0", - "@lexical/selection": "0.45.0", - "@lexical/utils": "0.45.0", - "lexical": "0.45.0", + "@lexical/extension": "0.46.0", + "@lexical/history": "0.46.0", + "@lexical/list": "0.46.0", + "@lexical/markdown": "0.46.0", + "@lexical/react": "0.46.0", + "@lexical/rich-text": "0.46.0", + "@lexical/selection": "0.46.0", + "@lexical/utils": "0.46.0", + "lexical": "0.46.0", "react": "^19.2.5", "react-dom": "^19.2.5" }, diff --git a/examples/nextjs-code-shiki/package.json b/examples/nextjs-code-shiki/package.json index f6dc1dcb8cf..ef98ab8749e 100644 --- a/examples/nextjs-code-shiki/package.json +++ b/examples/nextjs-code-shiki/package.json @@ -1,6 +1,6 @@ { "name": "@lexical/nextjs-code-shiki-example", - "version": "0.45.0", + "version": "0.46.0", "private": true, "scripts": { "dev": "next dev", @@ -9,14 +9,14 @@ "test": "playwright test" }, "dependencies": { - "@lexical/code-core": "0.45.0", - "@lexical/code-shiki": "0.45.0", - "@lexical/extension": "0.45.0", - "@lexical/headless": "0.45.0", - "@lexical/history": "0.45.0", - "@lexical/react": "0.45.0", - "@lexical/rich-text": "0.45.0", - "lexical": "0.45.0", + "@lexical/code-core": "0.46.0", + "@lexical/code-shiki": "0.46.0", + "@lexical/extension": "0.46.0", + "@lexical/headless": "0.46.0", + "@lexical/history": "0.46.0", + "@lexical/react": "0.46.0", + "@lexical/rich-text": "0.46.0", + "lexical": "0.46.0", "next": "^15.5.14", "react": "^19", "react-dom": "^19" diff --git a/examples/node-replacement/package.json b/examples/node-replacement/package.json index 20455b9e34d..9c88a7470fb 100644 --- a/examples/node-replacement/package.json +++ b/examples/node-replacement/package.json @@ -1,7 +1,7 @@ { "name": "@lexical/node-replacement-example", "private": true, - "version": "0.45.0", + "version": "0.46.0", "type": "module", "scripts": { "dev": "vite", @@ -10,9 +10,9 @@ "preview": "vite preview" }, "dependencies": { - "@lexical/react": "0.45.0", - "@lexical/utils": "0.45.0", - "lexical": "0.45.0", + "@lexical/react": "0.46.0", + "@lexical/utils": "0.46.0", + "lexical": "0.46.0", "react": "^19.2.5", "react-dom": "^19.2.5" }, diff --git a/examples/node-state-style/package.json b/examples/node-state-style/package.json index 0363dbba10a..a7322976f84 100644 --- a/examples/node-state-style/package.json +++ b/examples/node-state-style/package.json @@ -1,7 +1,7 @@ { "name": "@lexical/node-state-style-example", "private": true, - "version": "0.45.0", + "version": "0.46.0", "type": "module", "scripts": { "dev": "vite", @@ -11,17 +11,17 @@ }, "dependencies": { "@ark-ui/react": ">=5.6.0 <5.37.1 || >5.37.1 <6.0.0", - "@lexical/extension": "0.45.0", - "@lexical/history": "0.45.0", - "@lexical/html": "0.45.0", - "@lexical/react": "0.45.0", - "@lexical/rich-text": "0.45.0", - "@lexical/selection": "0.45.0", - "@lexical/utils": "0.45.0", + "@lexical/extension": "0.46.0", + "@lexical/history": "0.46.0", + "@lexical/html": "0.46.0", + "@lexical/react": "0.46.0", + "@lexical/rich-text": "0.46.0", + "@lexical/selection": "0.46.0", + "@lexical/utils": "0.46.0", "@shikijs/langs": "^4.2.0", "@shikijs/themes": "^4.2.0", "@zag-js/combobox": "^1.9.2", - "lexical": "0.45.0", + "lexical": "0.46.0", "lucide-react": "^1.17.0", "prettier": "^3.5.3", "react": "^19.1.0", diff --git a/examples/react-plain-text/package.json b/examples/react-plain-text/package.json index 69950545c69..8bb5ecf9eab 100644 --- a/examples/react-plain-text/package.json +++ b/examples/react-plain-text/package.json @@ -1,7 +1,7 @@ { "name": "@lexical/react-plain-text-example", "private": true, - "version": "0.45.0", + "version": "0.46.0", "type": "module", "scripts": { "dev": "vite", @@ -10,8 +10,8 @@ "preview": "vite preview" }, "dependencies": { - "@lexical/react": "0.45.0", - "lexical": "0.45.0", + "@lexical/react": "0.46.0", + "lexical": "0.46.0", "react": "^19.2.5", "react-dom": "^19.2.5" }, diff --git a/examples/react-rich-collab/package.json b/examples/react-rich-collab/package.json index abba85ce49f..caa528b955b 100644 --- a/examples/react-rich-collab/package.json +++ b/examples/react-rich-collab/package.json @@ -1,7 +1,7 @@ { "name": "@lexical/react-rich-collab-example", "private": true, - "version": "0.45.0", + "version": "0.46.0", "type": "module", "scripts": { "dev": "vite", @@ -14,10 +14,10 @@ "server:webrtc": "cross-env HOST=localhost PORT=1235 npx y-webrtc" }, "dependencies": { - "@lexical/react": "0.45.0", - "@lexical/utils": "0.45.0", - "@lexical/yjs": "0.45.0", - "lexical": "0.45.0", + "@lexical/react": "0.46.0", + "@lexical/utils": "0.46.0", + "@lexical/yjs": "0.46.0", + "lexical": "0.46.0", "react": "^19.2.5", "react-dom": "^19.2.5", "y-webrtc": "^10.3.0", diff --git a/examples/react-rich/package.json b/examples/react-rich/package.json index b210f00e5a3..90161ac976f 100644 --- a/examples/react-rich/package.json +++ b/examples/react-rich/package.json @@ -1,7 +1,7 @@ { "name": "@lexical/react-rich-example", "private": true, - "version": "0.45.0", + "version": "0.46.0", "type": "module", "scripts": { "dev": "vite", @@ -10,9 +10,9 @@ "preview": "vite preview" }, "dependencies": { - "@lexical/react": "0.45.0", - "@lexical/utils": "0.45.0", - "lexical": "0.45.0", + "@lexical/react": "0.46.0", + "@lexical/utils": "0.46.0", + "lexical": "0.46.0", "react": "^19.2.5", "react-dom": "^19.2.5" }, diff --git a/examples/react-table/package.json b/examples/react-table/package.json index 4a0ea288342..dba404d3c4b 100644 --- a/examples/react-table/package.json +++ b/examples/react-table/package.json @@ -1,7 +1,7 @@ { "name": "@lexical/react-table-example", "private": true, - "version": "0.45.0", + "version": "0.46.0", "type": "module", "scripts": { "dev": "vite", @@ -10,10 +10,10 @@ "preview": "vite preview" }, "dependencies": { - "@lexical/react": "0.45.0", - "@lexical/table": "0.45.0", - "@lexical/utils": "0.45.0", - "lexical": "0.45.0", + "@lexical/react": "0.46.0", + "@lexical/table": "0.46.0", + "@lexical/utils": "0.46.0", + "lexical": "0.46.0", "react": "^19.2.5", "react-dom": "^19.2.5" }, diff --git a/examples/vanilla-js-iframe/package.json b/examples/vanilla-js-iframe/package.json index 460e620fdee..64bda454e3b 100644 --- a/examples/vanilla-js-iframe/package.json +++ b/examples/vanilla-js-iframe/package.json @@ -1,7 +1,7 @@ { "name": "@lexical/vanilla-js-iframe-example", "private": true, - "version": "0.45.0", + "version": "0.46.0", "type": "module", "scripts": { "dev": "vite", @@ -10,11 +10,11 @@ "preview": "vite preview" }, "dependencies": { - "@lexical/dragon": "0.45.0", - "@lexical/history": "0.45.0", - "@lexical/rich-text": "0.45.0", - "@lexical/utils": "0.45.0", - "lexical": "0.45.0" + "@lexical/dragon": "0.46.0", + "@lexical/history": "0.46.0", + "@lexical/rich-text": "0.46.0", + "@lexical/utils": "0.46.0", + "lexical": "0.46.0" }, "devDependencies": { "cross-env": "^7.0.3", diff --git a/examples/vanilla-js-plugin/package.json b/examples/vanilla-js-plugin/package.json index b889a8473ea..c01e7fcd03c 100644 --- a/examples/vanilla-js-plugin/package.json +++ b/examples/vanilla-js-plugin/package.json @@ -1,7 +1,7 @@ { "name": "@lexical/vanilla-js-plugin-example", "private": true, - "version": "0.45.0", + "version": "0.46.0", "type": "module", "scripts": { "dev": "vite", @@ -10,12 +10,12 @@ "preview": "vite preview" }, "dependencies": { - "@lexical/dragon": "0.45.0", - "@lexical/history": "0.45.0", - "@lexical/rich-text": "0.45.0", - "@lexical/utils": "0.45.0", + "@lexical/dragon": "0.46.0", + "@lexical/history": "0.46.0", + "@lexical/rich-text": "0.46.0", + "@lexical/utils": "0.46.0", "emoji-datasource-facebook": "15.1.2", - "lexical": "0.45.0" + "lexical": "0.46.0" }, "devDependencies": { "cross-env": "^7.0.3", diff --git a/examples/vanilla-js/package.json b/examples/vanilla-js/package.json index 9ac438f1bd8..cb79304db1b 100644 --- a/examples/vanilla-js/package.json +++ b/examples/vanilla-js/package.json @@ -1,7 +1,7 @@ { "name": "@lexical/vanilla-js-example", "private": true, - "version": "0.45.0", + "version": "0.46.0", "type": "module", "scripts": { "dev": "vite", @@ -10,11 +10,11 @@ "preview": "vite preview" }, "dependencies": { - "@lexical/dragon": "0.45.0", - "@lexical/history": "0.45.0", - "@lexical/rich-text": "0.45.0", - "@lexical/utils": "0.45.0", - "lexical": "0.45.0" + "@lexical/dragon": "0.46.0", + "@lexical/history": "0.46.0", + "@lexical/rich-text": "0.46.0", + "@lexical/utils": "0.46.0", + "lexical": "0.46.0" }, "devDependencies": { "cross-env": "^7.0.3", diff --git a/examples/website-chat/package.json b/examples/website-chat/package.json index 4c316f6c116..ce8e95bfbe1 100644 --- a/examples/website-chat/package.json +++ b/examples/website-chat/package.json @@ -1,7 +1,7 @@ { "name": "@lexical/website-chat-example", "private": true, - "version": "0.45.0", + "version": "0.46.0", "type": "module", "scripts": { "dev": "vite", @@ -9,11 +9,11 @@ "preview": "vite preview" }, "dependencies": { - "@lexical/extension": "0.45.0", - "@lexical/history": "0.45.0", - "@lexical/react": "0.45.0", - "@lexical/rich-text": "0.45.0", - "lexical": "0.45.0", + "@lexical/extension": "0.46.0", + "@lexical/history": "0.46.0", + "@lexical/react": "0.46.0", + "@lexical/rich-text": "0.46.0", + "lexical": "0.46.0", "react": "^19.2.5", "react-dom": "^19.2.5" }, diff --git a/examples/website-notion/package.json b/examples/website-notion/package.json index 141126077ae..75d08b9cafb 100644 --- a/examples/website-notion/package.json +++ b/examples/website-notion/package.json @@ -1,7 +1,7 @@ { "name": "@lexical/website-notion-example", "private": true, - "version": "0.45.0", + "version": "0.46.0", "type": "module", "scripts": { "dev": "vite", @@ -9,14 +9,14 @@ "preview": "vite preview" }, "dependencies": { - "@lexical/extension": "0.45.0", - "@lexical/history": "0.45.0", - "@lexical/list": "0.45.0", - "@lexical/react": "0.45.0", - "@lexical/rich-text": "0.45.0", - "@lexical/selection": "0.45.0", - "@lexical/utils": "0.45.0", - "lexical": "0.45.0", + "@lexical/extension": "0.46.0", + "@lexical/history": "0.46.0", + "@lexical/list": "0.46.0", + "@lexical/react": "0.46.0", + "@lexical/rich-text": "0.46.0", + "@lexical/selection": "0.46.0", + "@lexical/utils": "0.46.0", + "lexical": "0.46.0", "react": "^19.2.5", "react-dom": "^19.2.5" }, diff --git a/examples/website-rich-input/package.json b/examples/website-rich-input/package.json index d049fa39db7..97ae8594977 100644 --- a/examples/website-rich-input/package.json +++ b/examples/website-rich-input/package.json @@ -1,7 +1,7 @@ { "name": "@lexical/website-rich-input-example", "private": true, - "version": "0.45.0", + "version": "0.46.0", "type": "module", "scripts": { "dev": "vite", @@ -9,12 +9,12 @@ "preview": "vite preview" }, "dependencies": { - "@lexical/extension": "0.45.0", - "@lexical/hashtag": "0.45.0", - "@lexical/history": "0.45.0", - "@lexical/react": "0.45.0", - "@lexical/rich-text": "0.45.0", - "lexical": "0.45.0", + "@lexical/extension": "0.46.0", + "@lexical/hashtag": "0.46.0", + "@lexical/history": "0.46.0", + "@lexical/react": "0.46.0", + "@lexical/rich-text": "0.46.0", + "lexical": "0.46.0", "react": "^19.2.5", "react-dom": "^19.2.5" }, diff --git a/examples/website-toolbar/package.json b/examples/website-toolbar/package.json index 7263d3b55c2..83979e115df 100644 --- a/examples/website-toolbar/package.json +++ b/examples/website-toolbar/package.json @@ -1,7 +1,7 @@ { "name": "@lexical/website-toolbar-example", "private": true, - "version": "0.45.0", + "version": "0.46.0", "type": "module", "scripts": { "dev": "vite", @@ -9,13 +9,13 @@ "preview": "vite preview" }, "dependencies": { - "@lexical/extension": "0.45.0", - "@lexical/history": "0.45.0", - "@lexical/react": "0.45.0", - "@lexical/rich-text": "0.45.0", - "@lexical/selection": "0.45.0", - "@lexical/utils": "0.45.0", - "lexical": "0.45.0", + "@lexical/extension": "0.46.0", + "@lexical/history": "0.46.0", + "@lexical/react": "0.46.0", + "@lexical/rich-text": "0.46.0", + "@lexical/selection": "0.46.0", + "@lexical/utils": "0.46.0", + "lexical": "0.46.0", "react": "^19.2.5", "react-dom": "^19.2.5" }, diff --git a/package.json b/package.json index ca115682c05..bd4808334a2 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@lexical/monorepo", "description": "Lexical is an extensible text editor framework that provides excellent reliability, accessibility and performance.", - "version": "0.45.0", + "version": "0.46.0", "license": "MIT", "private": true, "packageManager": "pnpm@10.34.1", diff --git a/packages/lexical-clipboard/package.json b/packages/lexical-clipboard/package.json index 888b6159621..87e4eff0c41 100644 --- a/packages/lexical-clipboard/package.json +++ b/packages/lexical-clipboard/package.json @@ -9,7 +9,7 @@ "paste" ], "license": "MIT", - "version": "0.45.0", + "version": "0.46.0", "main": "./dist/LexicalClipboard.js", "types": "./dist/typescript-too-old.d.ts", "dependencies": { diff --git a/packages/lexical-code-core/package.json b/packages/lexical-code-core/package.json index a1f4a230f96..2de8a064b57 100644 --- a/packages/lexical-code-core/package.json +++ b/packages/lexical-code-core/package.json @@ -8,7 +8,7 @@ "code" ], "license": "MIT", - "version": "0.45.0", + "version": "0.46.0", "main": "./dist/LexicalCodeCore.js", "types": "./dist/typescript-too-old.d.ts", "dependencies": { diff --git a/packages/lexical-code-prism/package.json b/packages/lexical-code-prism/package.json index 1791950595c..e5f0ac2304c 100644 --- a/packages/lexical-code-prism/package.json +++ b/packages/lexical-code-prism/package.json @@ -8,7 +8,7 @@ "code" ], "license": "MIT", - "version": "0.45.0", + "version": "0.46.0", "main": "./dist/LexicalCodePrism.js", "types": "./dist/typescript-too-old.d.ts", "dependencies": { diff --git a/packages/lexical-code-shiki/package.json b/packages/lexical-code-shiki/package.json index 679df1189a6..e21bbfc8395 100644 --- a/packages/lexical-code-shiki/package.json +++ b/packages/lexical-code-shiki/package.json @@ -8,7 +8,7 @@ "code" ], "license": "MIT", - "version": "0.45.0", + "version": "0.46.0", "main": "./dist/LexicalCodeShiki.js", "types": "./dist/typescript-too-old.d.ts", "dependencies": { diff --git a/packages/lexical-code/package.json b/packages/lexical-code/package.json index cd949ed9b49..87bf8f415d6 100644 --- a/packages/lexical-code/package.json +++ b/packages/lexical-code/package.json @@ -8,7 +8,7 @@ "code" ], "license": "MIT", - "version": "0.45.0", + "version": "0.46.0", "main": "./dist/LexicalCode.js", "types": "./dist/typescript-too-old.d.ts", "dependencies": { diff --git a/packages/lexical-devtools-core/package.json b/packages/lexical-devtools-core/package.json index 9694cba3a72..4fa45e04ece 100644 --- a/packages/lexical-devtools-core/package.json +++ b/packages/lexical-devtools-core/package.json @@ -8,7 +8,7 @@ "utils" ], "license": "MIT", - "version": "0.45.0", + "version": "0.46.0", "main": "./dist/LexicalDevtoolsCore.js", "types": "./dist/typescript-too-old.d.ts", "dependencies": { diff --git a/packages/lexical-devtools/package.json b/packages/lexical-devtools/package.json index eec45a16e25..99c75ddc1ee 100644 --- a/packages/lexical-devtools/package.json +++ b/packages/lexical-devtools/package.json @@ -2,7 +2,7 @@ "name": "@lexical/devtools", "description": "Lexical DevTools browser extension", "private": true, - "version": "0.45.0", + "version": "0.46.0", "type": "module", "scripts": { "dev": "wxt", diff --git a/packages/lexical-dragon/package.json b/packages/lexical-dragon/package.json index f0935e34016..6bbc33af4f4 100644 --- a/packages/lexical-dragon/package.json +++ b/packages/lexical-dragon/package.json @@ -9,7 +9,7 @@ "accessibility" ], "license": "MIT", - "version": "0.45.0", + "version": "0.46.0", "main": "./dist/LexicalDragon.js", "types": "./dist/typescript-too-old.d.ts", "repository": { diff --git a/packages/lexical-eslint-plugin-internal/package.json b/packages/lexical-eslint-plugin-internal/package.json index 2a6e2f8410e..c013e0e42f8 100644 --- a/packages/lexical-eslint-plugin-internal/package.json +++ b/packages/lexical-eslint-plugin-internal/package.json @@ -1,6 +1,6 @@ { "name": "@lexical/eslint-plugin-internal", - "version": "0.45.0", + "version": "0.46.0", "description": "Internal ESLint plugin for the lexical monorepo", "type": "module", "main": "src/index.js", diff --git a/packages/lexical-eslint-plugin/package.json b/packages/lexical-eslint-plugin/package.json index b98d8c249ec..9f3b2b9c6ab 100644 --- a/packages/lexical-eslint-plugin/package.json +++ b/packages/lexical-eslint-plugin/package.json @@ -8,7 +8,7 @@ "lexical", "editor" ], - "version": "0.45.0", + "version": "0.46.0", "license": "MIT", "repository": { "type": "git", diff --git a/packages/lexical-extension/package.json b/packages/lexical-extension/package.json index bd6b134b8cd..59e7db6fe28 100644 --- a/packages/lexical-extension/package.json +++ b/packages/lexical-extension/package.json @@ -6,7 +6,7 @@ "extension", "plugin" ], - "version": "0.45.0", + "version": "0.46.0", "license": "MIT", "repository": { "type": "git", diff --git a/packages/lexical-file/package.json b/packages/lexical-file/package.json index f7ea7c84f80..d256c04ce68 100644 --- a/packages/lexical-file/package.json +++ b/packages/lexical-file/package.json @@ -10,7 +10,7 @@ "export" ], "license": "MIT", - "version": "0.45.0", + "version": "0.46.0", "main": "./dist/LexicalFile.js", "types": "./dist/typescript-too-old.d.ts", "repository": { diff --git a/packages/lexical-hashtag/package.json b/packages/lexical-hashtag/package.json index 6b517c80629..76d78555575 100644 --- a/packages/lexical-hashtag/package.json +++ b/packages/lexical-hashtag/package.json @@ -8,7 +8,7 @@ "hashtag" ], "license": "MIT", - "version": "0.45.0", + "version": "0.46.0", "main": "./dist/LexicalHashtag.js", "types": "./dist/typescript-too-old.d.ts", "dependencies": { diff --git a/packages/lexical-headless/package.json b/packages/lexical-headless/package.json index 43220dae2cb..ff51b7be01d 100644 --- a/packages/lexical-headless/package.json +++ b/packages/lexical-headless/package.json @@ -8,7 +8,7 @@ "headless" ], "license": "MIT", - "version": "0.45.0", + "version": "0.46.0", "repository": { "type": "git", "url": "git+https://github.com/facebook/lexical.git", diff --git a/packages/lexical-history/package.json b/packages/lexical-history/package.json index 0d95a7af27a..afef7aaef2f 100644 --- a/packages/lexical-history/package.json +++ b/packages/lexical-history/package.json @@ -8,7 +8,7 @@ "history" ], "license": "MIT", - "version": "0.45.0", + "version": "0.46.0", "main": "./dist/LexicalHistory.js", "types": "./dist/typescript-too-old.d.ts", "dependencies": { diff --git a/packages/lexical-html/package.json b/packages/lexical-html/package.json index 3f8982e760a..827f18d8434 100644 --- a/packages/lexical-html/package.json +++ b/packages/lexical-html/package.json @@ -8,7 +8,7 @@ "html" ], "license": "MIT", - "version": "0.45.0", + "version": "0.46.0", "main": "./dist/LexicalHtml.js", "types": "./dist/typescript-too-old.d.ts", "repository": { diff --git a/packages/lexical-internal/package.json b/packages/lexical-internal/package.json index 72165b7473f..a619b85c77a 100644 --- a/packages/lexical-internal/package.json +++ b/packages/lexical-internal/package.json @@ -8,7 +8,7 @@ "internal" ], "license": "MIT", - "version": "0.45.0", + "version": "0.46.0", "repository": { "type": "git", "url": "git+https://github.com/facebook/lexical.git", diff --git a/packages/lexical-link/package.json b/packages/lexical-link/package.json index 45487a87734..d9d92e23b31 100644 --- a/packages/lexical-link/package.json +++ b/packages/lexical-link/package.json @@ -8,7 +8,7 @@ "link" ], "license": "MIT", - "version": "0.45.0", + "version": "0.46.0", "main": "./dist/LexicalLink.js", "types": "./dist/typescript-too-old.d.ts", "dependencies": { diff --git a/packages/lexical-list/package.json b/packages/lexical-list/package.json index a455c202e70..08b27d276be 100644 --- a/packages/lexical-list/package.json +++ b/packages/lexical-list/package.json @@ -8,7 +8,7 @@ "list" ], "license": "MIT", - "version": "0.45.0", + "version": "0.46.0", "main": "./dist/LexicalList.js", "types": "./dist/typescript-too-old.d.ts", "dependencies": { diff --git a/packages/lexical-mark/package.json b/packages/lexical-mark/package.json index aa3b996657f..c515872332c 100644 --- a/packages/lexical-mark/package.json +++ b/packages/lexical-mark/package.json @@ -8,7 +8,7 @@ "mark" ], "license": "MIT", - "version": "0.45.0", + "version": "0.46.0", "main": "./dist/LexicalMark.js", "types": "./dist/typescript-too-old.d.ts", "dependencies": { diff --git a/packages/lexical-markdown/package.json b/packages/lexical-markdown/package.json index 50de89ec0f5..4ca77d7e970 100644 --- a/packages/lexical-markdown/package.json +++ b/packages/lexical-markdown/package.json @@ -8,7 +8,7 @@ "markdown" ], "license": "MIT", - "version": "0.45.0", + "version": "0.46.0", "main": "./dist/LexicalMarkdown.js", "types": "./dist/typescript-too-old.d.ts", "dependencies": { diff --git a/packages/lexical-offset/package.json b/packages/lexical-offset/package.json index 9767ed5cc59..7c013c788d3 100644 --- a/packages/lexical-offset/package.json +++ b/packages/lexical-offset/package.json @@ -8,7 +8,7 @@ "offset" ], "license": "MIT", - "version": "0.45.0", + "version": "0.46.0", "main": "./dist/LexicalOffset.js", "types": "./dist/typescript-too-old.d.ts", "repository": { diff --git a/packages/lexical-overflow/package.json b/packages/lexical-overflow/package.json index dc7f98c23d2..1b387168a7a 100644 --- a/packages/lexical-overflow/package.json +++ b/packages/lexical-overflow/package.json @@ -8,7 +8,7 @@ "overflow" ], "license": "MIT", - "version": "0.45.0", + "version": "0.46.0", "main": "./dist/LexicalOverflow.js", "types": "./dist/typescript-too-old.d.ts", "repository": { diff --git a/packages/lexical-plain-text/package.json b/packages/lexical-plain-text/package.json index 2a4220a98fa..176f808b314 100644 --- a/packages/lexical-plain-text/package.json +++ b/packages/lexical-plain-text/package.json @@ -7,7 +7,7 @@ "plain-text" ], "license": "MIT", - "version": "0.45.0", + "version": "0.46.0", "main": "./dist/LexicalPlainText.js", "types": "./dist/typescript-too-old.d.ts", "repository": { diff --git a/packages/lexical-playground/package.json b/packages/lexical-playground/package.json index 8523540a75a..492b2284c03 100644 --- a/packages/lexical-playground/package.json +++ b/packages/lexical-playground/package.json @@ -1,6 +1,6 @@ { "name": "lexical-playground", - "version": "0.45.0", + "version": "0.46.0", "private": true, "type": "module", "scripts": { diff --git a/packages/lexical-react/package.json b/packages/lexical-react/package.json index 9013139a0e8..181c5930924 100644 --- a/packages/lexical-react/package.json +++ b/packages/lexical-react/package.json @@ -8,7 +8,7 @@ "rich-text" ], "license": "MIT", - "version": "0.45.0", + "version": "0.46.0", "dependencies": { "@floating-ui/react": "^0.27.19", "@lexical/devtools-core": "workspace:*", diff --git a/packages/lexical-rich-text/package.json b/packages/lexical-rich-text/package.json index 423349f717b..b91b7a95664 100644 --- a/packages/lexical-rich-text/package.json +++ b/packages/lexical-rich-text/package.json @@ -7,7 +7,7 @@ "rich-text" ], "license": "MIT", - "version": "0.45.0", + "version": "0.46.0", "main": "./dist/LexicalRichText.js", "types": "./dist/typescript-too-old.d.ts", "repository": { diff --git a/packages/lexical-selection/package.json b/packages/lexical-selection/package.json index 7f5f7fae2f5..da51fcc10eb 100644 --- a/packages/lexical-selection/package.json +++ b/packages/lexical-selection/package.json @@ -9,7 +9,7 @@ "selection" ], "license": "MIT", - "version": "0.45.0", + "version": "0.46.0", "main": "./dist/LexicalSelection.js", "types": "./dist/typescript-too-old.d.ts", "repository": { diff --git a/packages/lexical-table/package.json b/packages/lexical-table/package.json index 555c9c01a06..19b11ea7388 100644 --- a/packages/lexical-table/package.json +++ b/packages/lexical-table/package.json @@ -8,7 +8,7 @@ "table" ], "license": "MIT", - "version": "0.45.0", + "version": "0.46.0", "main": "./dist/LexicalTable.js", "types": "./dist/typescript-too-old.d.ts", "dependencies": { diff --git a/packages/lexical-tailwind/package.json b/packages/lexical-tailwind/package.json index e3526eaa074..d3a37c31486 100644 --- a/packages/lexical-tailwind/package.json +++ b/packages/lexical-tailwind/package.json @@ -7,7 +7,7 @@ "theme", "css" ], - "version": "0.45.0", + "version": "0.46.0", "license": "MIT", "repository": { "type": "git", diff --git a/packages/lexical-text/package.json b/packages/lexical-text/package.json index 28338c28a3b..a3d74478c8d 100644 --- a/packages/lexical-text/package.json +++ b/packages/lexical-text/package.json @@ -9,7 +9,7 @@ "text" ], "license": "MIT", - "version": "0.45.0", + "version": "0.46.0", "main": "./dist/LexicalText.js", "types": "./dist/typescript-too-old.d.ts", "repository": { diff --git a/packages/lexical-utils/package.json b/packages/lexical-utils/package.json index 445082d7365..54f183bfba9 100644 --- a/packages/lexical-utils/package.json +++ b/packages/lexical-utils/package.json @@ -8,7 +8,7 @@ "utils" ], "license": "MIT", - "version": "0.45.0", + "version": "0.46.0", "main": "./dist/LexicalUtils.js", "types": "./dist/typescript-too-old.d.ts", "dependencies": { diff --git a/packages/lexical-website/package.json b/packages/lexical-website/package.json index 7728c13d739..ac487c6eabe 100644 --- a/packages/lexical-website/package.json +++ b/packages/lexical-website/package.json @@ -1,6 +1,6 @@ { "name": "@lexical/website", - "version": "0.45.0", + "version": "0.46.0", "private": true, "scripts": { "docusaurus": "cross-env IGNORE_PEER_DEPENDENCIES=react docusaurus", diff --git a/packages/lexical-yjs/package.json b/packages/lexical-yjs/package.json index b3923b2f8bd..63e6df86357 100644 --- a/packages/lexical-yjs/package.json +++ b/packages/lexical-yjs/package.json @@ -11,7 +11,7 @@ "crdt" ], "license": "MIT", - "version": "0.45.0", + "version": "0.46.0", "main": "./dist/LexicalYjs.js", "types": "./dist/typescript-too-old.d.ts", "dependencies": { diff --git a/packages/lexical/package.json b/packages/lexical/package.json index b76c47b8100..f8cf63d3dc0 100644 --- a/packages/lexical/package.json +++ b/packages/lexical/package.json @@ -9,7 +9,7 @@ "rich-text" ], "license": "MIT", - "version": "0.45.0", + "version": "0.46.0", "main": "./dist/Lexical.js", "types": "./dist/typescript-too-old.d.ts", "repository": { diff --git a/scripts/__tests__/integration/fixtures/lexical-esm-astro-react/package.json b/scripts/__tests__/integration/fixtures/lexical-esm-astro-react/package.json index bda3e35063c..029f0417e3e 100644 --- a/scripts/__tests__/integration/fixtures/lexical-esm-astro-react/package.json +++ b/scripts/__tests__/integration/fixtures/lexical-esm-astro-react/package.json @@ -2,7 +2,7 @@ "name": "lexical-esm-astro-react", "private": true, "type": "module", - "version": "0.45.0", + "version": "0.46.0", "scripts": { "dev": "astro dev", "start": "astro dev", @@ -13,12 +13,12 @@ "dependencies": { "@astrojs/check": "^0.9.9", "@astrojs/react": "^5.0.5", - "@lexical/code": "0.45.0", - "@lexical/react": "0.45.0", + "@lexical/code": "0.46.0", + "@lexical/react": "0.46.0", "@types/react": "^19.2.14", "@types/react-dom": "^19.1.9", "astro": "^6.1.10", - "lexical": "0.45.0", + "lexical": "0.46.0", "react": "^19.2.5", "react-dom": "^19.2.5" }, diff --git a/scripts/__tests__/integration/fixtures/lexical-link-source-mode/package.json b/scripts/__tests__/integration/fixtures/lexical-link-source-mode/package.json index 01f505aaab4..d9f3daa0949 100644 --- a/scripts/__tests__/integration/fixtures/lexical-link-source-mode/package.json +++ b/scripts/__tests__/integration/fixtures/lexical-link-source-mode/package.json @@ -2,7 +2,7 @@ "name": "lexical-link-source-mode", "private": true, "type": "module", - "version": "0.45.0", + "version": "0.46.0", "description": "Integration fixture: consume lexical, @lexical/rich-text and @lexical/extension via pnpm's link: protocol and the `source` export condition (TypeScript source, no build required, and no consumer-side aliases). Importing several packages confirms source-mode resolution links every package (and their transitive @lexical/* deps) against each other.", "scripts": { "build": "vite build", diff --git a/scripts/error-codes/codes.json b/scripts/error-codes/codes.json index db1007b111d..1f9ca5c3858 100644 --- a/scripts/error-codes/codes.json +++ b/scripts/error-codes/codes.json @@ -363,5 +363,35 @@ "361": "sel.attr(%s, ...) requires true, a string, or a RegExp", "362": "sel.styleAny(%s, ...) requires a string or a RegExp", "363": "sel.tag() requires at least one tag name", - "364": "invalid CSS selector at col %s: %s in %s" + "364": "invalid CSS selector at col %s: %s in %s", + "365": "createEditor: nodes[%s] %s is not a constructor that subclasses LexicalNode from the lexical package used by this editor (%s)", + "366": "LexicalNode: Node %s has slot \"%s\" but it resolved to no node during export.", + "367": "$removeNode: node %s is slotted into host %s; use removeSlot on the host instead of remove().", + "368": "replace: node %s has slots but %s cannot host them; only ElementNodes and DecoratorNodes can host slots.", + "369": "Expected RangeSelection after redirecting into slot subtree", + "370": "slotHost must be an ElementNode or a DecoratorNode", + "371": "getDeclaredSlotRank: %s declares reserved slot name \"%s\"; __proto__, constructor, and prototype break the plain-object serialization of slots", + "372": "getDeclaredSlotRank: %s declares slot name \"%s\" more than once; the canonical order would be ambiguous", + "373": "$setSlot: \"%s\" is a reserved slot name; __proto__, constructor, and prototype break the plain-object serialization of slots", + "374": "$setSlot: node %s is not a valid slot value; a slot value must be a non-inline ElementNode or DecoratorNode (the slot link itself is the shadow boundary).", + "375": "$setSlot: node %s cannot be slotted into %s; a node may not host itself or an ancestor reached through children or slot up-links — the slot up-link would form a cycle that loops isAttached/GC.", + "376": "insert: node %s cannot become a child of %s; the parent is reachable from the node through slot up-links, so the insertion would form a cycle that loops isAttached/GC.", + "377": "detach: slotted node %s must be an ElementNode or a DecoratorNode", + "378": "The given editor argument does not match $getEditor() in this context. Use editor.getEditorState().read(..., {editor}) if this cross-editor call is intentional.", + "379": "$parseSerializedNode: node %s has slots but is not a valid slot host; only ElementNodes and DecoratorNodes can host slots.", + "380": "$removeFromParent: node %s is slotted into host %s; a slotted node and a child are mutually exclusive. Remove it from its slot first.", + "381": "$cloneWithProperties: %s.clone(node) (with type '%s') overrode afterCloneFrom but did not preserve __slotHost", + "382": "$cloneWithProperties: %s.clone(node) (with type '%s') overrode afterCloneFrom but did not preserve __slots", + "383": "DecoratorNode: node %s is both slotted into host %s and a child of parent %s; __slotHost and __parent are mutually exclusive", + "384": "ElementNode: node %s is both slotted into host %s and a child of parent %s; __slotHost and __parent are mutually exclusive", + "385": "LexicalNode: slot \"%s\" on %s did not serialize to exactly the slot value node (got %s of type %s); a slot value must not be excluded from copy.", + "386": "Expected TableNode for key %s", + "387": "Expected a TableRowNode", + "388": "Expected XmlElement parent for slots Y.Map", + "389": "Expected parent of a text node to be a collab element node", + "390": "Expected parent of a linebreak node to be a collab element node", + "391": "Expected parent to be a collab element node, or a collab decorator node hosting this shared type as a named slot", + "392": "Expected parent of a text or linebreak node to be a collab element node", + "393": "Expected a decorator node for a collab decorator node", + "394": "getOffset: expected parent to be a collab element node" }