Interfaces: make edit sidebar resizable #70616
Interfaces: make edit sidebar resizable #70616DarkMatter-999 wants to merge 7 commits intoWordPress:trunkfrom
Conversation
|
👋 Thanks for your first Pull Request and for helping build the future of Gutenberg and WordPress, @DarkMatter-999! In case you missed it, we'd love to have you join us in our Slack community. If you want to learn more about WordPress development in general, check out the Core Handbook full of helpful information. |
|
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 Unlinked AccountsThe following contributors have not linked their GitHub and WordPress.org accounts: @Sirjazzfeetz, @vitaliikaplia. Contributors, please read how to link your accounts to ensure your work is properly credited in WordPress releases. 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. |
|
Warning: Type of PR label mismatch To merge this PR, it requires exactly 1 label indicating the type of PR. Other labels are optional and not being checked here.
Read more about Type labels in Gutenberg. Don't worry if you don't have the required permissions to add labels; the PR reviewer should be able to help with the task. |
|
Hey @DarkMatter-999 , I have tested this PR in my local environment and below I have given a detailed report for the outcome. What: Adds the ability to modify the Block Editor sidebar width manually (drag) and programmatically (API). Test Environment
Test Plan & ResultsPointer (Mouse/Trackpad) ResizeSteps
Result
API: Programmatic Control
Observations
Video Test :Screen.Recording.2025-08-17.at.10.16.03.PM.movScreenshotsFirefox
Safari
Result of my testingResult: Feature works as expected for pointer resizing with no layout breakage observed. |


What?
Closes #64664
This PR adds the ability to modify the sidebar width either manually or programatically.
Why?
Right now, the editor does not have the ability to change sidebar width, this PR adds support for this.
How?
This PR created a
resize-handlewhich can be dragged using mouse or through keyboard using arrow keys to change the width of the sidebar.Testing Instructions
Testing Instructions for Keyboard
Screenshots or screencast
Exposed API to programmatically change sidebar width.
Screen.Recording.2025-07-04.at.3.01.11.PM.mov
Before
Screen.Recording.2025-07-04.at.3.00.00.PM.mov
After
Screen.Recording.2025-07-04.at.2.59.14.PM.mp4