-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Editor: Move the resizing of the editor to the EditorCanvas component #61896
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: +165 B (+0.01%) Total Size: 1.75 MB
ℹ️ View Unchanged
|
I think the padding is probably unrelated to this PR but yeah I'm not entirely sure why the height is not the same. I'll try to debug. |
Flaky tests detected in caca649. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/9209396464
|
@jameskoster Would you mind tracking the padding bug separately. I think it exists in trunk already and would be good to add to the 6.6 list. |
73a253d
to
5d3b558
Compare
@jameskoster 🤔 I can't reproduce, would you mind doing another test? |
Which theme are you using? |
Twenty Twenty-Four |
480f10b
to
f801285
Compare
Since this is just the post editor and that I'm not able to reproduce. We have two options:
|
@ntsekouras or @ellatrix Are you able to reproduce the issue @jameskoster raised above: Opening a template part in focus mode in the post editor makes the height 100% rather than picking the actual height of the template part. |
Okay I figured it out. Well, partially. I don't know why, but when I deactivate Jetpack it works as expected. |
…WordPress#61896) Co-authored-by: youknowriad <youknowriad@git.wordpress.org> Co-authored-by: jameskoster <jameskoster@git.wordpress.org>
…WordPress#61896) Co-authored-by: youknowriad <youknowriad@git.wordpress.org> Co-authored-by: jameskoster <jameskoster@git.wordpress.org>
Related #52632
What?
In the site editor, some entities offer a way to resize the canvas (like template parts and patterns) but in the post editor it's not the case, this PR aligns this behavior by moving the resizing feature to the "editor" package sharing it between both post and site editors.
This involves moving a lot of stuff around so there's a small potential for regressions. Please help test the different entities.
Testing Instructions