Skip to content

Conversation

@naaa760
Copy link

@naaa760 naaa760 commented Feb 2, 2026

What?

  • Export TextColorFeature and the TextStateFeatureProps type from @payloadcms/richtext-lexical.

Why?

  • Users expect a TextColorFeature export for text color in the Lexical editor and hit “Module has no exported member 'TextColorFeature'”.
  • Typing the feature config requires TextStateFeatureProps, which wasn’t exported.

How?

  • In the package’s main index.ts, TextColorFeature is exported as an alias of TextStateFeature, and TextStateFeatureProps is exported as a type from the textState feature module.

fix : #15432

@naaa760 naaa760 requested a review from AlessioGr as a code owner February 2, 2026 05:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug (lexical): TextColorFeature missing from exports and EditorConfig types in v3.73.0

1 participant