Skip to content

Conversation

@yashjawale
Copy link
Contributor

@yashjawale yashjawale commented Sep 9, 2025

What?

Part of #71318

This PR moves custom CSS command from the @wordpress/edit-site to the @wordpress/core-commands package

Why?

This move was held back from #71335 because at that time Custom CSS panel was not always available
#71537 has since fixed the problem & Additional CSS panel is now always accessible

How?

The PR moves Open custom CSS command from edit-site package to core-commands, modifying to only perform URL navigations without internal dependencies from edit-site package

Testing Instructions

  1. Open command palette
  2. Select Open custom CSS option
  3. Verify that site edior opens & Additional CSS panel shows up

Screenshots or screencast

Screen.Recording.2025-09-10.at.1.06.43.PM.mov

@yashjawale yashjawale marked this pull request as ready for review September 10, 2025 08:26
@github-actions
Copy link

github-actions bot commented Sep 10, 2025

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: yashjawale <yashjawale@git.wordpress.org>
Co-authored-by: t-hamano <wildworks@git.wordpress.org>

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

@t-hamano t-hamano added [Type] Enhancement A suggestion for improvement. [Package] Core commands labels Sep 10, 2025
Copy link
Contributor

@t-hamano t-hamano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

I only left one feedback comment, but everything else looks good.

Co-authored-by: Aki Hamano <54422211+t-hamano@users.noreply.github.com>
@t-hamano t-hamano merged commit c740f26 into WordPress:trunk Sep 10, 2025
69 checks passed
@github-actions github-actions bot added this to the Gutenberg 21.7 milestone Sep 10, 2025
adamsilverstein pushed a commit to adamsilverstein/gutenberg that referenced this pull request Sep 11, 2025
…t-site` package (WordPress#71565)

* feat: move custom CSS command to core-commands package

* fix: rename 'go to custom CSS' command to 'open custom CSS'

* fix: prevent custom CSS command from showing up by default

Co-authored-by: Aki Hamano <54422211+t-hamano@users.noreply.github.com>

---------

Co-authored-by: yashjawale <yashjawale@git.wordpress.org>
Co-authored-by: t-hamano <wildworks@git.wordpress.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants