Make WordPress Core

Opened 8 months ago

Closed 8 months ago

Last modified 4 weeks ago

#58667 closed defect (bug) (fixed)

Command Palette has no style applied

Reported by: wildworks's profile wildworks Owned by: isabel_brison's profile isabel_brison
Milestone: 6.3 Priority: normal
Severity: normal Version:
Component: General Keywords: has-patch
Focuses: Cc:


Originally reported in the Gutenberg project:

Command Palette, bundled into the core in WordPress 6.3, works as a feature but has no styles applied at all. Perhaps the enqueue of styles in script-loader.php is leaking.

Attachments (2)

actual.png (6.7 KB) - added by wildworks 8 months ago.
Actual behavior
expected.png (9.8 KB) - added by wildworks 8 months ago.
Expected behavior

Download all attachments as: .zip

Change History (6)

8 months ago

Actual behavior

8 months ago

Expected behavior

This ticket was mentioned in PR #4753 on WordPress/wordpress-develop by @wildworks.

8 months ago

  • Keywords has-patch added

Trac ticket:

As far as I can tell, the CSS for the command package for the Command Palette feature is bundled with the core. However, they do not appear to be enqueued.

✅ In the Site Editor, the CSS with id wp-commands-css should be enqueued

✅ In the Post Editor, the CSS with id wp-commands-css should be enqueued

✅ If the language is RTL, the CSS with id wp-commands-rtl-css should be enqueued

✅ These CSS should not be enqueued in the Block Widget Editor and Customized Widget Editor

#2 @isabel_brison
8 months ago

  • Owner set to isabel_brison
  • Resolution set to fixed
  • Status changed from new to closed

In 56125:

Editor: Enqueue commands package styles.

Enqueues the stylesheet from the commands package which holds the CSS for the Command Palette feature.

Props wildworks.
Fixes #58667.

@isabel_brison commented on PR #4753:

8 months ago

Committed in r56125 / 6aaf013.

#4 @swissspidy
4 weeks ago

  • Milestone changed from Awaiting Review to 6.3
Note: See TracTickets for help on using tickets.