Skip to content

[lexical][lexical-selection] Bug Fix: preserve selected text and formatting at range boundaries - #9261

Merged
etrepum merged 6 commits into
meta:mainfrom
etrepum:codex/caret-split-behavior
Sep 29, 2026
Merged

etrepum merged 6 commits into
meta:mainfrom
etrepum:codex/caret-split-behavior

Conversation

@etrepum

@etrepum etrepum commented Sep 28, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Equivalent text and element endpoints can select different text, lose the selected fragment during styling or extraction, or leave detached selections on the wrong fragment after splitting. In addition, $patchStyleText(selection, patch) styles the active selection's text instead of the supplied selection.

This PR shares caret text-slice lookup and splitting across range text, extraction, formatting and styling. Splitting repairs the supplied selection's points, including detached ranges and element endpoints. Styling uses a private iterator over the supplied selection; the public $forEachSelectedTextNode continues to use the active selection.

Observable changes:

  • Equivalent element/text boundaries return, copy and extract the same selected text; empty mixed-point ranges produce no text.
  • Styling and formatting retain the selected fragment after splitting.
  • $patchStyleText styles its supplied selection even when another selection is active or there is no active selection. Repeated patches retain valid endpoints.
  • Every collapsed range returns an empty string, including one beside a slot-bearing host.
  • Pending format combines the first and last text nodes actually formatted; a skipped final node at offset zero does not contribute.

Text-only clipboard slicing retains its direct fast path. $getTextPointCaretSliceForNode is marked @internal; $splitTextPointCaretSlice is documented in the traversal guide. TypeScript exports and Flow declarations agree.

Test plan

New coverage includes mixed element/text endpoints, empty and whole-node slices, detached forward/backward ranges, repeated style patches, slot hosts and pending formats. Sixteen decorator-boundary cases also pass on main and preserve its endpoint and repeated-toggle behavior.

…ing at selection boundaries

## Description

Equivalent text and element endpoints can currently select different text, lose the selected fragment during styling or extraction, or leave detached selections on the wrong fragment after splitting. Collapsed element selections beside slot hosts also return slot text, and a final text node selected at offset zero can contribute a format that was never applied.

This PR uses shared caret text-slice lookup and splitting helpers for range text, extraction, formatting, and styling. Splitting preserves active and detached endpoints, including element offsets, and handles empty and whole-node slices centrally. The helpers have matching TypeScript exports and Flow declarations.

Observable changes:

- Equivalent element/text boundaries return and extract the same selected text; an empty mixed-point range extracts no text.
- Styling and formatting retain the selected fragment when splitting, including detached range selections.
- Every collapsed range returns an empty string, including one beside a slot-bearing host.
- Pending format combines the first and last text nodes actually formatted; a skipped final node at offset zero does not contribute.

This branch is based directly on main and does not require the other caret refactoring or performance PRs.

## Test plan

### Before

Run the new boundary regression tests against main:

```sh
node node_modules/vitest/vitest.mjs run --project unit packages/lexical/src/__tests__/unit/LexicalSelectionCaretText.test.ts packages/lexical/src/__tests__/unit/LexicalSelectionCaretSlices.test.ts --maxWorkers=2
```

```text
 Test Files  2 failed (2)
      Tests  17 failed | 17 passed (34)
```

### After

```sh
node node_modules/vitest/vitest.mjs run --project unit --maxWorkers=2
```

```text
 Test Files  348 passed (348)
      Tests  5811 passed | 1 skipped (5812)
```

Source and test TypeScript checks, changed-file ESLint/Prettier, and `git diff --check` pass.

Flow `full-check --max-workers 1`:

```text
Found 0 errors
```

Browser tests were not run in this environment.
@vercel

vercel Bot commented Sep 28, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
lexical Ready Ready Preview Sep 28, 2026 8:59pm UTC
lexical-playground Ready Ready Preview Sep 28, 2026 8:59pm UTC

Request Review

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Sep 28, 2026
@etrepum etrepum added the extended-tests Run extended e2e tests on a PR label Sep 28, 2026
…ent endpoints when slicing copied text

## Description

Equivalent text and element endpoints can copy a whole text node for an empty range.
Use caret slices when either endpoint is an element point, preserving direct
slicing for text-only ranges and ephemeral-clone behavior. Mark the cross-package
slice lookup helper internal and document the public slice-splitting helper.

## Test plan

### Before

New copy-slicing endpoint regression cases against the parent commit:

```text
 Test Files  1 failed (1)
      Tests  6 failed | 14 passed (20)
```

### After

```sh
node node_modules/vitest/vitest.mjs run --project unit packages/lexical-selection packages/lexical-clipboard packages/lexical-html packages/lexical/src/__tests__/unit/LexicalSelectionCaret packages/lexical/src/caret/__tests__/unit/LexicalTextSlice.test.ts --maxWorkers=2
```

```text
 Test Files  28 passed (28)
      Tests  532 passed (532)
```

Test TypeScript, changed-source ESLint and Prettier, and git diff --check pass.
Browser tests were not run.
…edge

## Description

Formatting a range from the end of A, across an inline decorator, into part of
BC left the decorator selected. Main repins the start to the split B fragment,
so a second toggle changes only B. Restore this endpoint repair when splitting
one text node or formatting multiple text nodes, including an empty final slice.
Keep the existing whole-node/atomic-node selection convention.

## Test plan

### Before

New decorator-boundary tests on the parent PR revision:

```text
 Test Files  1 failed (1)
      Tests  12 failed | 4 passed (16)
```

The same 16 tests pass on main.

### After

```sh
node node_modules/vitest/vitest.mjs run --project unit --maxWorkers=2
```

```text
 Test Files  349 passed (349)
      Tests  5843 passed | 1 skipped (5844)
```

Test TypeScript and changed-file ESLint/Prettier pass. Tests cover active and
detached selections, both directions, partial/whole/multiple text nodes, an empty
final slice, decorator selection membership, and a second format toggle.
The Chromium E2E was not run locally because browser execution is unavailable;
the reported model-level regression is reproduced and covered by unit tests.
…point repair

## Description

$patchStyleText accepts a selection but styles the active selection's text. Route both entry points through a private iterator that accepts the target selection, using the caret splitting and endpoint repair already shared by selection operations.

Cover forward and backward detached ranges, whole and partial nodes, absent or unrelated active selections, collapsed and node selections, and repeated patches. Assert repaired points and selected text after splitting so a stale node cache cannot mask invalid endpoints.

## Test plan

### Before

On main:

`node node_modules/vitest/vitest.mjs run --project unit packages/lexical-selection/src/__tests__/unit/PatchStyleDetachedSelection.test.ts --maxWorkers=2`

```
Test Files  1 failed (1)
Tests  16 failed | 2 passed (18)
```

### After

`node node_modules/vitest/vitest.mjs run --project unit --maxWorkers=2`

```
Test Files  350 passed (350)
Tests  5861 passed | 1 skipped (5862)
```

Test TypeScript, changed-file ESLint and Prettier pass. Chromium E2E was not run locally.
@etrepum etrepum changed the title [lexical][lexical-selection] Bug Fix: preserve range text and formatting at selection boundaries [lexical][lexical-selection][lexical-website] Bug Fix: preserve selected text and formatting at range boundaries Sep 28, 2026
@etrepum etrepum changed the title [lexical][lexical-selection][lexical-website] Bug Fix: preserve selected text and formatting at range boundaries [lexical][lexical-selection] Bug Fix: preserve selected text and formatting at range boundaries Sep 28, 2026
…e page errors

## Description

The macOS Firefox select-all test leaves the decorator and typed text unchanged, but only checks the final HTML. Its failure artifact shows SELECT_ALL and DELETE_CHARACTER commands reaching the focused editor without establishing where the operation failed.

Add observational checkpoints for committed typing and a selection including the leading decorator before deletion. Attach uncaught page errors if the test fails. Keep the final deletion assertion and existing platform coverage intact.

This adds synchronization and diagnostics; it does not establish the cause of the native macOS Firefox failure or claim to fix it.

## Test plan

### Before

The reported native macOS Firefox CI run at c67ed58:

```
1 failed
[firefox] Selection › Select all (DecoratorNode at start) meta#4670
```

All three attempts retained the YouTube decorator and abcdefg instead of an empty paragraph.

### After

A temporary focused copy of this test was run with Playwright Firefox on Linux, enabling the normally skipped test and setting navigator.platform to MacIntel to exercise Lexical's macOS keyboard path. The same probe was run against main and this branch:

```
main: 1 passed (18.5s)
PR:   1 passed (19.7s)
```

Changed-file ESLint and Prettier pass. Native macOS Firefox was not available locally; its CI rerun is still required.
@etrepum
etrepum added this pull request to the merge queue Sep 29, 2026
Merged via the queue into meta:main with commit f0fefed Sep 29, 2026
46 checks passed
zurfyx added a commit that referenced this pull request Oct 15, 2026
## Description

The changes merged since v0.52.0 predate changesets, so without entries the
v0.53.0 section would leave them out, including the breaking removal of the
deprecated import extensions (#9316).

This adds a changeset for every user-facing pull request in
v0.52.0..main, written from each pull request, with a `PR: #N` line (they
land in this pull request rather than the original ones) and the original
author's handle:

- breaking: #9316, with the full replacement table as `Migration:`
- feature: #9312
- fix: #9335, #9332, #9331, #9328, #9325, #9317, #9321, #9320, #9319,
  #9283, #9303, #9295, #9291, #9260, #9300, #9301, #9272, #9267, #9302,
  #9261, #9262, #9263, #9258
- perf: #9264

Skipped as not user-facing: dependency bumps (all devDependencies), website
and docs updates, test and CI changes, the private devtools extension and
eslint-plugin-internal, and #9353 (a behavior-preserving Flow `Object` to
`any` change).

It also adds a `[chore]` changeset for this pull request itself, which adds
CHANGELOG.md to the `lexical` package's `files`.

## Test plan

### Before

```
$ node scripts/changesets/check.mjs --base origin/main --head HEAD --coverage warn   # at the previous commit
warning: This pull request changes published code without a changeset for:
  lexical: packages/lexical/package.json (files)
...
Changeset check passed: 0 pending changeset(s) valid; coverage: 1 warning(s), reported only.
```

### After

```
$ node scripts/changesets/check.mjs --base origin/main
Changeset check passed: 27 pending changeset(s) valid; coverage: lexical changed, each named by a changeset.
```

The `latest` release step in a throwaway clone of this branch, with the
real tags:

```
$ LATEST_RELEASE=v0.52.0 npm_package_version=0.53.0 node scripts/changesets/release.mjs --date 2026-10-30
Added v0.53.0 to CHANGELOG.md from 27 changeset(s).
$ ls .changeset
changelog.cjs
config.json
README.md
$ sed -n 1,9p CHANGELOG.md
## v0.53.0 (2026-10-30)

### Breaking changes

- **@lexical/code-core, @lexical/code-shiki, @lexical/html, @lexical/link, @lexical/list, @lexical/mdast, @lexical/rich-text, @lexical/table**: Remove the extensions deprecated in v0.52.0 and earlier ([#9316](#9316))

  The deprecated import and alias extensions are removed. The `*ImportRules`
  arrays, including `HorizontalRuleImportRules`, stay.

$ grep -n '^### ' CHANGELOG.md | head -7
3:### Breaking changes
28:### Features
36:### Fixes
98:### Performance
102:### Other
106:### Contributors
110:### All changes
$ sed -n '/^### Contributors/,+2p' CHANGELOG.md
### Contributors

@Tabisharaza, @etrepum, @mbret, @maximilliangrand, @Vedthakar, @rinarakaki, @potatowagon, @followdarko, Gerard Rovira
$ sed -n '/^### All changes/,/^## v0.52.0/p' CHANGELOG.md | sed -n '5,6p;$p' | head -2
- [lexical-yjs][Chore] Change last `Object` to `any` in lexical ([#9353](#9353)) Sam Zhou
- [lexical-eslint-plugin-internal] Chore: lint window messaging channel scoping ([#9339](#9339)) Sherry
```

(`### All changes` has 50 lines: the 48 commits after v0.52.0, without the
`v0.52.0 (#9252)` bump commit, plus this branch's two commits.)

Running again before that release PR is merged:

```
$ git tag v0.53.0   # tagged, but CHANGELOG.md on main has no v0.53.0 section
$ npm_package_version=0.54.0 node scripts/changesets/release.mjs
CHANGELOG.md has no v0.53.0 section, so the v0.53.0 release pull request is not merged yet. Merge it (it consumes the changesets for v0.53.0) before cutting v0.54.0; running again now would put the same changesets in both releases.
(exit 1)
$ npm_package_version=0.53.1 node scripts/changesets/release.mjs
Refusing to release 0.53.1 as a patch: 1 pending [breaking] changeset(s) need a minor release:
  - .changeset/remove-deprecated-import-extensions.md: Remove the extensions deprecated in v0.52.0 and earlier
Run the release with the "minor" increment instead.
(exit 1)
```

A prerelease publish (lexical at 0.52.1-nightly.20261016.0, nothing built,
so the export check that follows fails as expected):

```
$ node scripts/npm/prepare-release.mjs
[lexical] CHANGELOG.md lists pending changes as Unreleased
[lexical] package.json references files that are not present in packages/lexical:
  ./dist/Lexical.dev.js
$ sed -n 1,5p packages/lexical/CHANGELOG.md
## Unreleased

Merged after the latest stable release and included in 0.52.1-nightly.20261016.0. These entries move into a version section when the next stable release is cut.

### Breaking changes
$ git status --short CHANGELOG.md
(clean: only the gitignored package copy changed)
```
zurfyx added a commit that referenced this pull request Oct 15, 2026
## Description

The changes merged since v0.52.0 predate changesets, so without entries the
v0.53.0 section would leave them out, including the breaking removal of the
deprecated import extensions (#9316).

This adds a changeset for every user-facing pull request in
v0.52.0..main, written from each pull request, with a `PR: #N` line (they
land in this pull request rather than the original ones) and the original
author's handle:

- breaking: #9316, with the full replacement table as `Migration:`
- feature: #9312
- fix: #9335, #9332, #9331, #9328, #9325, #9317, #9321, #9320, #9319,
  #9283, #9303, #9295, #9291, #9260, #9300, #9301, #9272, #9267, #9302,
  #9261, #9262, #9263, #9258
- perf: #9264

Skipped as not user-facing: dependency bumps (all devDependencies), website
and docs updates, test and CI changes, the private devtools extension and
eslint-plugin-internal, and #9353 (a behavior-preserving Flow `Object` to
`any` change).

Four fixes change observable output or behavior, so their changesets have
a `Verify:` paragraph and are listed under Behavior changes: #9303 (new
tabs get no `window.opener`), #9272 (imported code content is normalized),
#9261 (`$patchStyleText` styles the selection it is given), #9319 (editor
keys and namespaces are a counter without a DOM).

It also adds a `[chore]` changeset for this pull request itself, which adds
CHANGELOG.md to the `lexical` package's `files`.

## Test plan

### Before

```
$ node scripts/changesets/check.mjs --base origin/main --head HEAD --coverage warn   # at the previous commit
warning: This pull request changes published code without a changeset for:
  lexical: packages/lexical/package.json (files)
...
Changeset check passed: 0 pending changeset(s) valid; coverage: 1 warning(s), reported only.
```

### After

```
$ node scripts/changesets/check.mjs --base origin/main
Changeset check passed: 27 pending changeset(s) valid; coverage: lexical changed, each named by a changeset.
```

The `latest` release step in a throwaway clone of this branch, with the
real tags:

```
$ LATEST_RELEASE=v0.52.0 npm_package_version=0.53.0 node scripts/changesets/release.mjs --date 2026-10-30
Added v0.53.0 to CHANGELOG.md from 27 changeset(s).
$ ls .changeset
changelog.cjs
config.json
README.md
$ sed -n 1,9p CHANGELOG.md
## v0.53.0 (2026-10-30)

### Breaking changes

- **@lexical/code-core, @lexical/code-shiki, @lexical/html, @lexical/link, @lexical/list, @lexical/mdast, @lexical/rich-text, @lexical/table**: Remove the extensions deprecated in v0.52.0 and earlier ([#9316](#9316))

  The deprecated import and alias extensions are removed. The `*ImportRules`
  arrays, including `HorizontalRuleImportRules`, stay.

$ grep -n '^### ' CHANGELOG.md | head -8
3:### Breaking changes
28:### Behavior changes
54:### Features
62:### Fixes
108:### Performance
112:### Other
116:### Contributors
120:### All changes
$ sed -n '/^### Behavior changes/,+7p' CHANGELOG.md
### Behavior changes

- **@lexical/link**: Open new-tab links from `ClickableLinkPlugin` / `registerClickableLink` without `window.opener` ([#9303](#9303))

  This prevents the opened page from navigating the editor's tab (reverse tabnabbing). Same-tab opens are unchanged.

  Verify: pages opened from editor links that relied on `window.opener`.

$ node scripts/changesets/range.mjs --from 0.52.0 --breaking --json   # (kind, [(pr, behavior)])
[('breaking', [(9316, False)]), ('behavior', [(9303, True), (9272, True), (9261, True), (9319, True)])]
$ sed -n '/^### Contributors/,+2p' CHANGELOG.md
### Contributors

@Tabisharaza, @etrepum, @mbret, @maximilliangrand, @Vedthakar, @rinarakaki, @potatowagon, @followdarko, Gerard Rovira
$ sed -n '/^### All changes/,/^## v0.52.0/p' CHANGELOG.md | sed -n '5,6p;$p' | head -2
- [lexical-yjs][Chore] Change last `Object` to `any` in lexical ([#9353](#9353)) Sam Zhou
- [lexical-eslint-plugin-internal] Chore: lint window messaging channel scoping ([#9339](#9339)) Sherry
```

(`### All changes` has 50 lines: the 48 commits after v0.52.0, without the
`v0.52.0 (#9252)` bump commit, plus this branch's two commits.)

Running again before that release PR is merged:

```
$ git tag v0.53.0   # tagged, but CHANGELOG.md on main has no v0.53.0 section
$ npm_package_version=0.54.0 node scripts/changesets/release.mjs
CHANGELOG.md has no v0.53.0 section, so the v0.53.0 release pull request is not merged yet. Merge it (it consumes the changesets for v0.53.0) before cutting v0.54.0; running again now would put the same changesets in both releases.
(exit 1)
$ npm_package_version=0.53.1 node scripts/changesets/release.mjs
Refusing to release 0.53.1 as a patch: 1 pending [breaking] changeset(s) need a minor release:
  - .changeset/remove-deprecated-import-extensions.md: Remove the extensions deprecated in v0.52.0 and earlier
Run the release with the "minor" increment instead.
(exit 1)
```

A prerelease publish (lexical at 0.52.1-nightly.20261016.0, nothing built,
so the export check that follows fails as expected):

```
$ node scripts/npm/prepare-release.mjs
[lexical] CHANGELOG.md lists pending changes as Unreleased
[lexical] package.json references files that are not present in packages/lexical:
  ./dist/Lexical.dev.js
$ sed -n 1,5p packages/lexical/CHANGELOG.md
## Unreleased

Merged after the latest stable release and included in 0.52.1-nightly.20261016.0. These entries move into a version section when the next stable release is cut.

### Breaking changes
$ git status --short CHANGELOG.md
(clean: only the gitignored package copy changed)
```
zurfyx added a commit that referenced this pull request Oct 15, 2026
## Description

The changes merged since v0.52.0 predate changesets, so without entries the
v0.53.0 section would leave them out, including the breaking removal of the
deprecated import extensions (#9316).

This adds a changeset for every user-facing pull request in
v0.52.0..main, written from each pull request, with a `PR: #N` line (they
land in this pull request rather than the original ones) and the original
author's handle:

- breaking: #9316, with the full replacement table as `Migration:`
- feature: #9312
- fix: #9335, #9332, #9331, #9328, #9325, #9317, #9321, #9320, #9319,
  #9283, #9303, #9295, #9291, #9260, #9300, #9301, #9272, #9267, #9302,
  #9261, #9262, #9263, #9258
- perf: #9264

Skipped as not user-facing: dependency bumps (all devDependencies), website
and docs updates, test and CI changes, the private devtools extension and
eslint-plugin-internal, and #9353 (a behavior-preserving Flow `Object` to
`any` change).

Four fixes change observable output or behavior, so their changesets have
a `Verify:` paragraph and are listed under Behavior changes: #9303 (new
tabs get no `window.opener`), #9272 (imported code content is normalized),
#9261 (`$patchStyleText` styles the selection it is given), #9319 (editor
keys and namespaces are a counter without a DOM).

It also adds a `[chore]` changeset for this pull request itself, which adds
CHANGELOG.md to the `lexical` package's `files`.

## Test plan

### Before

```
$ node scripts/changesets/check.mjs --base origin/main --head HEAD --coverage warn   # at the previous commit
warning: This pull request changes published code without a changeset for:
  lexical: packages/lexical/package.json (files)
...
Changeset check passed: 0 pending changeset(s) valid; coverage: 1 warning(s), reported only.
```

### After

```
$ node scripts/changesets/check.mjs --base origin/main
Changeset check passed: 27 pending changeset(s) valid; coverage: lexical changed, each named by a changeset.
```

The `latest` release step in a throwaway clone of this branch, with the
real tags:

```
$ LATEST_RELEASE=v0.52.0 npm_package_version=0.53.0 node scripts/changesets/release.mjs --date 2026-10-30
Added v0.53.0 to CHANGELOG.md from 27 changeset(s).
$ ls .changeset
changelog.cjs
config.json
README.md
$ sed -n 1,9p CHANGELOG.md
## v0.53.0 (2026-10-30)

### Breaking changes

- **@lexical/code-core, @lexical/code-shiki, @lexical/html, @lexical/link, @lexical/list, @lexical/mdast, @lexical/rich-text, @lexical/table**: Remove the extensions deprecated in v0.52.0 and earlier ([#9316](#9316))

  The deprecated import and alias extensions are removed. The `*ImportRules`
  arrays, including `HorizontalRuleImportRules`, stay.

$ grep -n '^### ' CHANGELOG.md | head -8
3:### Breaking changes
28:### Behavior changes
54:### Features
62:### Fixes
108:### Performance
112:### Other
116:### Contributors
120:### All changes
$ sed -n '/^### Behavior changes/,+7p' CHANGELOG.md
### Behavior changes

- **@lexical/link**: Open new-tab links from `ClickableLinkPlugin` / `registerClickableLink` without `window.opener` ([#9303](#9303))

  This prevents the opened page from navigating the editor's tab (reverse tabnabbing). Same-tab opens are unchanged.

  Verify: pages opened from editor links that relied on `window.opener`.

$ node scripts/changesets/range.mjs --from 0.52.0 --breaking --json   # (kind, [(pr, behavior)])
[('breaking', [(9316, False)]), ('behavior', [(9303, True), (9272, True), (9261, True), (9319, True)])]
$ sed -n '/^### Contributors/,+2p' CHANGELOG.md
### Contributors

@Tabisharaza, @etrepum, @mbret, @maximilliangrand, @Vedthakar, @rinarakaki, @potatowagon, @followdarko, Gerard Rovira
$ sed -n '/^### All changes/,/^## v0.52.0/p' CHANGELOG.md | sed -n '5,6p;$p' | head -2
- [lexical-yjs][Chore] Change last `Object` to `any` in lexical ([#9353](#9353)) Sam Zhou
- [lexical-eslint-plugin-internal] Chore: lint window messaging channel scoping ([#9339](#9339)) Sherry
```

(`### All changes` has 50 lines: the 48 commits after v0.52.0, without the
`v0.52.0 (#9252)` bump commit, plus this branch's two commits.)

Running again before that release PR is merged:

```
$ git tag v0.53.0   # tagged, but CHANGELOG.md on main has no v0.53.0 section
$ npm_package_version=0.54.0 node scripts/changesets/release.mjs
CHANGELOG.md has no v0.53.0 section, so the v0.53.0 release pull request is not merged yet. Merge it (it consumes the changesets for v0.53.0) before cutting v0.54.0; running again now would put the same changesets in both releases.
(exit 1)
$ npm_package_version=0.53.1 node scripts/changesets/release.mjs
Refusing to release 0.53.1 as a patch: 1 pending [breaking] changeset(s) need a minor release:
  - .changeset/remove-deprecated-import-extensions.md: Remove the extensions deprecated in v0.52.0 and earlier
Run the release with the "minor" increment instead.
(exit 1)
```

A prerelease publish (lexical at 0.52.1-nightly.20261016.0, nothing built,
so the export check that follows fails as expected):

```
$ node scripts/npm/prepare-release.mjs
[lexical] CHANGELOG.md lists pending changes as Unreleased
[lexical] package.json references files that are not present in packages/lexical:
  ./dist/Lexical.dev.js
$ sed -n 1,5p packages/lexical/CHANGELOG.md
## Unreleased

Merged after the latest stable release and included in 0.52.1-nightly.20261016.0. These entries move into a version section when the next stable release is cut.

### Breaking changes
$ git status --short CHANGELOG.md
(clean: only the gitignored package copy changed)
```
@zurfyx zurfyx mentioned this pull request Oct 27, 2026

This branch was successfully deployed

2 active deployments
Preview – lexical — 2f487521 Deployed Sep 28, 2026 by vercel[bot]
Preview – lexical-playground — 2f487521 Deployed Sep 28, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. extended-tests Run extended e2e tests on a PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants