-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use the inserter panel for the edit-site screen #22413
Conversation
Size Change: +274 B (0%) Total Size: 1.11 MB
ℹ️ View Unchanged
|
showInserterHelpPanel | ||
toggleProps={ inserterToggleProps } | ||
<Button | ||
className="edit-post-header-toolbar__inserter-toggle" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to have an edit-site
class here. I wonder if it makes sense for these styles to live in a shared package instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What package. At the moment I'm not even certain if at then end of the day, we'd just use edit-post with extensions as edit-site. So I'd prefer to avoid early abstractions like that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
interface
?
7d3f0e8
to
e44e477
Compare
showInserterHelpPanel | ||
toggleProps={ inserterToggleProps } | ||
<Button | ||
className="edit-site-header-toolbar__inserter-toggle" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't find any CSS rules targetting this selector.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you're right, it's useless.
Related #21245 #20791
Update the edit-site screen to use the inserter panel which