Skip to content

Site Editor: return SlotFill for W button #36366

Description

@vindl

Description

Initially we had a SlotFill for W button that allowed 3rd party apps to override this button in a maintainable way. Most notably this was useful for changing the back URL and site icon.

After the introduction, refactor, and removal of Browsing Sidebar this slot is no longer present, so the previous functionality has regressed.

This should've been included in #36194.

Here is how it previously looked

<MainDashboardButton.Slot>
<NavigationBackButton
.

Ideally we would use this same Slot/Fill here - similar to how the post editor uses its equivalent.

Step-by-step reproduction instructions

N/A

Screenshots, screen recording, code snippet

No response

Environment info

Gutenberg 11.9

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

Metadata

Metadata

Assignees

Labels

[Priority] HighUsed to indicate top priority items that need quick attention[Status] In ProgressTracking issues with work in progress[Type] BugAn existing feature does not function as intended[Type] RegressionRelated to a regression in the latest release

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions