Skip to content

Playlist: Add border radius support - #80470

Closed
prasadkarmalkar wants to merge 1 commit into
WordPress:trunkfrom
prasadkarmalkar:fix/playlist-block-border-radius-support
Closed

prasadkarmalkar wants to merge 1 commit into
WordPress:trunkfrom
prasadkarmalkar:fix/playlist-block-border-radius-support

Conversation

@prasadkarmalkar

Copy link
Copy Markdown
Contributor

What?

Closes #80450

Why?

The Playlist block's block.json declares color, style, and width under __experimentalBorder, but omits radius. As a result, the Border section in the block settings sidebar is missing the radius control.

How?

Added "radius": true to both __experimentalBorder and __experimentalDefaultControls in block.json.

Testing Instructions

  1. Insert a Playlist block and add some audio tracks.
  2. Select the Playlist block, open the block settings sidebar.
  3. Go to the Border section under Styles.
  4. Confirm a border radius control now appears alongside width, color, and style.
  5. Set a radius value and confirm it applies to the playlist container in the editor and on the front end.

Testing Instructions for Keyboard

Screenshots or screencast

Before After
Screenshot 2026-07-20 at 4 35 41 PM Screenshot 2026-07-20 at 4 35 41 PM

Use of AI Tools

No

@github-actions

Copy link
Copy Markdown

Warning: Type of PR label mismatch

To merge this PR, it requires exactly 1 label indicating the type of PR. Other labels are optional and not being checked here.

  • Required label: Any label starting with [Type].
  • Labels found: .

Read more about Type labels in Gutenberg. Don't worry if you don't have the required permissions to add labels; the PR reviewer should be able to help with the task.

@github-actions

Copy link
Copy Markdown

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: prasadkarmalkar <prasadkarmalkar@git.wordpress.org>
Co-authored-by: noruzzamans <noruzzaman@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@github-actions github-actions Bot added the [Package] Block library /packages/block-library label Jul 20, 2026
@prasadkarmalkar

Copy link
Copy Markdown
Contributor Author

Closing as issue is closed

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

Labels

[Package] Block library /packages/block-library

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Playlist block: Border radius control is missing

1 participant