#63845 closed enhancement (fixed)
Command Palette: Enqueue command-related assets for all admin pages
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 6.9 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Editor | Keywords: | has-patch gutenberg-merge |
| Focuses: | Cc: |
Description
This ticket tracks the backport of PHP files for the following Gutenberg update:
Command Palette: Enqueue assets globally #71264
We're aiming to bring the Command Palette into all parts of the WordPress site, as described in the Roadmap to 6.9 post.
As a first step, just like the Gutenberg plugin, this ticket aims to enable the Command Palette on all admin pages by enqueuing command-related assets via the admin_enqueue_scripts hook.
Attachments (1)
Change History (9)
This ticket was mentioned in PR #9542 on WordPress/wordpress-develop by @wildworks.
7 months ago
#1
- Keywords has-patch added
#2
@
7 months ago
Note: The attached PR can't be committed until the latest npm packages are synced to the core. This is because the wp.coreCommands.initializeCommandPalette() method in the code doesn't exist in core yet. The attached PR will need to be committed after the package sync for Beta 1 is complete.
This ticket was mentioned in Slack in #core by welcher. View the logs.
6 months ago
#5
@
5 months ago
Update:
The attached PR can't be committed until the latest npm packages are synced to the core. This is because the
wp.coreCommands.initializeCommandPalette()method in the code doesn't exist in core yet.
I'm testing this PR again now that the package has been updated, and it appears that the styles are not being applied to the dashboard. I'll investigate the cause.
#6
@
5 months ago
I'm testing this PR again now that the package has been updated, and it appears that the styles are not being applied to the dashboard. I'll investigate the cause.
Fixed.
#7
@
5 months ago
- Owner set to cbravobernal
- Resolution set to fixed
- Status changed from new to closed
In 61022:
@cbravobernal commented on PR #9542:
5 months ago
#8
Committed in https://core.trac.wordpress.org/changeset/61022
Trac ticket: https://core.trac.wordpress.org/ticket/63845
Related Gutenberg PR: https://github.com/WordPress/gutenberg/pull/71264