-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Add shuffle style to write mode toolbar #70946
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
Conversation
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 If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
Size Change: +23 B (0%) Total Size: 1.89 MB
ℹ️ View Unchanged
|
Thanks for catching that and letting me know! I'm still learning about Write/Content Only mode. I updated to also check Do you know if there's plans to change the naming over to Write Mode? Or at least add |
Yeah, editor modes can get confusing sometimes. @talldan, highlights the current problems well in his research - #67856.
Considering that feature ("Simplified site editing") is now behind the experimental flag, it would be expected that things would change. P.S. The project no longer makes new selectors/actions public with |
* Add shuffle style to content only toolbar * Only show shuffle icon if write mode is enabled * Limit shuffle section style block toolbar button to section blocks
What?
Allow style shuffling from the block toolbar while in write mode for section blocks.
Why?
Bring simple editing functionality to write mode.
How?
Checks for
contentOnly
editing mode within the block toolbar, and shows theSwitchSectionStyle
component if so. TheSwitchSectionStyle
component will only render the toolbar button if the block has an available section style and is a section block.Testing Instructions
Testing Instructions for Keyboard
Screenshots or screencast
Screen.Recording.2025-07-29.at.11.51.17.AM.mov