Skip to content

[lexical-website] Documentation Update: call the system Lexical Extensions, not Lexical Builder - #9212

Merged
etrepum merged 1 commit into
meta:mainfrom
potatowagon:docs-extensions-naming
Sep 23, 2026
Merged

etrepum merged 1 commit into
meta:mainfrom
potatowagon:docs-extensions-naming

Conversation

@potatowagon

Copy link
Copy Markdown
Contributor

Description

extensions/migration.mdx and extensions/faq.mdx still call the extension
system "Lexical Builder" — the name it had before it shipped. The feature
landed as Lexical Extension (#7706), the package is @lexical/extension, and
every other page in the section calls it Extensions, starting with
intro.md's "# Lexical Extensions". LexicalBuilder survives as the builder
class behind buildEditorFromExtensions, marked @internal, so a reader who
searches the docs for "Lexical Builder" finds a name with no entry point.

This renames the five prose occurrences. The LexicalBuilder class itself is
not touched, and neither is the namespace string in the migration example
(it is example data the reader replaces).

Test plan

Documentation-only change (markdown is excluded from prettier via
.prettierignore), so the check is that the prose matches the shipped name.

Before

$ grep -rn "Lexical Builder" packages/lexical-website/docs/
packages/lexical-website/docs/extensions/migration.mdx:6:Migrating to Lexical Builder is designed to be seamless! Lexical Builder is
packages/lexical-website/docs/extensions/migration.mdx:111:  namespace: 'Vanilla JS Demo (all-in with Lexical Builder)',
packages/lexical-website/docs/extensions/migration.mdx:361:// compatible interface to support editors not using Lexical Builder
packages/lexical-website/docs/extensions/faq.mdx:52:Vanilla JS and React have first class support in Lexical. Lexical Builder
packages/lexical-website/docs/extensions/faq.mdx:62:Other frameworks can use the functionality exposed by Lexical Builder

$ head -1 packages/lexical-website/docs/extensions/intro.md
# Lexical Extensions

$ grep -n "@internal" -A1 packages/lexical-extension/src/LexicalBuilder.ts | sed -n '1,2p'
114:/** @internal */
115-export class LexicalBuilder {

After

$ grep -rn "Lexical Builder" packages/lexical-website/docs/
packages/lexical-website/docs/extensions/migration.mdx:111:  namespace: 'Vanilla JS Demo (all-in with Lexical Builder)',

$ grep -rn "Lexical Extensions" packages/lexical-website/docs/extensions/migration.mdx packages/lexical-website/docs/extensions/faq.mdx
packages/lexical-website/docs/extensions/migration.mdx:6:Migrating to Lexical Extensions is designed to be seamless! Lexical Extensions
packages/lexical-website/docs/extensions/migration.mdx:361:// compatible interface to support editors not using Lexical Extensions
packages/lexical-website/docs/extensions/faq.mdx:52:Vanilla JS and React have first class support in Lexical. Lexical Extensions
packages/lexical-website/docs/extensions/faq.mdx:62:Other frameworks can use the functionality exposed by Lexical Extensions

The one remaining occurrence is the example's namespace string, deliberately
left alone.

…sions, not Lexical Builder

## Description

`extensions/migration.mdx` and `extensions/faq.mdx` still call the extension
system "Lexical Builder" — the name it had before it shipped. The feature
landed as Lexical Extension (meta#7706), the package is `@lexical/extension`, and
every other page in the section calls it Extensions, starting with
`intro.md`'s "# Lexical Extensions". `LexicalBuilder` survives as the builder
class behind `buildEditorFromExtensions`, marked `@internal`, so a reader who
searches the docs for "Lexical Builder" finds a name with no entry point.

This renames the five prose occurrences. The `LexicalBuilder` class itself is
not touched, and neither is the `namespace` string in the migration example
(it is example data the reader replaces).

## Test plan

Documentation-only change (markdown is excluded from prettier via
`.prettierignore`), so the check is that the prose matches the shipped name.

### Before

```
$ grep -rn "Lexical Builder" packages/lexical-website/docs/
packages/lexical-website/docs/extensions/migration.mdx:6:Migrating to Lexical Builder is designed to be seamless! Lexical Builder is
packages/lexical-website/docs/extensions/migration.mdx:111:  namespace: 'Vanilla JS Demo (all-in with Lexical Builder)',
packages/lexical-website/docs/extensions/migration.mdx:361:// compatible interface to support editors not using Lexical Builder
packages/lexical-website/docs/extensions/faq.mdx:52:Vanilla JS and React have first class support in Lexical. Lexical Builder
packages/lexical-website/docs/extensions/faq.mdx:62:Other frameworks can use the functionality exposed by Lexical Builder

$ head -1 packages/lexical-website/docs/extensions/intro.md
# Lexical Extensions

$ grep -n "@internal" -A1 packages/lexical-extension/src/LexicalBuilder.ts | sed -n '1,2p'
114:/** @internal */
115-export class LexicalBuilder {
```

### After

```
$ grep -rn "Lexical Builder" packages/lexical-website/docs/
packages/lexical-website/docs/extensions/migration.mdx:111:  namespace: 'Vanilla JS Demo (all-in with Lexical Builder)',

$ grep -rn "Lexical Extensions" packages/lexical-website/docs/extensions/migration.mdx packages/lexical-website/docs/extensions/faq.mdx
packages/lexical-website/docs/extensions/migration.mdx:6:Migrating to Lexical Extensions is designed to be seamless! Lexical Extensions
packages/lexical-website/docs/extensions/migration.mdx:361:// compatible interface to support editors not using Lexical Extensions
packages/lexical-website/docs/extensions/faq.mdx:52:Vanilla JS and React have first class support in Lexical. Lexical Extensions
packages/lexical-website/docs/extensions/faq.mdx:62:Other frameworks can use the functionality exposed by Lexical Extensions
```

The one remaining occurrence is the example's `namespace` string, deliberately
left alone.
@vercel

vercel Bot commented Sep 23, 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 23, 2026 5:48pm UTC
lexical-playground Ready Ready Preview Sep 23, 2026 5:48pm 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 23, 2026
@etrepum
etrepum added this pull request to the merge queue Sep 23, 2026
Merged via the queue into meta:main with commit c4aa26c Sep 23, 2026
42 checks passed
@etrepum etrepum mentioned this pull request Sep 28, 2026

This branch was successfully deployed

2 active deployments
Preview – lexical — 231aa15a Deployed Sep 23, 2026 by vercel[bot]
Preview – lexical-playground — 231aa15a Deployed Sep 23, 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants