Skip to content

Migrate text component to UI package for block editor control#77453

Draft
kushagra-goyal-14 wants to merge 2 commits intoWordPress:trunkfrom
kushagra-goyal-14:feat/migrate-experimentaltext-to-text
Draft

Migrate text component to UI package for block editor control#77453
kushagra-goyal-14 wants to merge 2 commits intoWordPress:trunkfrom
kushagra-goyal-14:feat/migrate-experimentaltext-to-text

Conversation

@kushagra-goyal-14
Copy link
Copy Markdown
Contributor

What?

Part of: #77265
Attribute control — block-bindings/attribute-control.js uses Text truncate / variant="muted"

Why?

Migrate existing __experimentalText to @wordpress/ui Text

How?

Added @wordpress/ui to dependency.

Use of AI Tools

  • Used Copilot for PR description and commit messages

@github-actions github-actions Bot added the [Package] Block editor /packages/block-editor label Apr 17, 2026
@t-hamano t-hamano added the [Type] Enhancement A suggestion for improvement. label Apr 27, 2026
@Mamaduka
Copy link
Copy Markdown
Member

I think it's not possible to cleanly migrate this one. The Text uses color variations + truncation in this case, which aren't or won't be supported by the new UI component.

#77589 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Package] Block editor /packages/block-editor [Type] Enhancement A suggestion for improvement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants