Repository navigation
Resize cover block only in normal mode - #65731
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: +24 B (0%) Total Size: 1.77 MB
ℹ️ View Unchanged
|
5746ebc to
8c419cd
Compare
@draganescu Did you mean should not render? |
getdave
left a comment
There was a problem hiding this comment.
This works as described in testing.
8c419cd to
b779041
Compare
|
Flaky tests detected in b779041. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/11138724383
|
* only show resize controls in normal rendering mode * get block editing mode from hook not prop - misread code elsewhere Co-authored-by: draganescu <andraganescu@git.wordpress.org> Co-authored-by: getdave <get_dave@git.wordpress.org> Co-authored-by: MaggieCabrera <onemaggie@git.wordpress.org> Co-authored-by: scruffian <scruffian@git.wordpress.org> Co-authored-by: ellatrix <ellatrix@git.wordpress.org>
|
I just cherry-picked this PR to the wp/6.7 branch to get it included in the next release: 6b0e5db |
* only show resize controls in normal rendering mode * get block editing mode from hook not prop - misread code elsewhere Co-authored-by: draganescu <andraganescu@git.wordpress.org> Co-authored-by: getdave <get_dave@git.wordpress.org> Co-authored-by: MaggieCabrera <onemaggie@git.wordpress.org> Co-authored-by: scruffian <scruffian@git.wordpress.org> Co-authored-by: ellatrix <ellatrix@git.wordpress.org>
This reverts commit d0ed1ce.
* only show resize controls in normal rendering mode * get block editing mode from hook not prop - misread code elsewhere Co-authored-by: draganescu <andraganescu@git.wordpress.org> Co-authored-by: getdave <get_dave@git.wordpress.org> Co-authored-by: MaggieCabrera <onemaggie@git.wordpress.org> Co-authored-by: scruffian <scruffian@git.wordpress.org> Co-authored-by: ellatrix <ellatrix@git.wordpress.org>
What?
Fixes #63522
Why?
Bug fix.
How?
Copy the same behavior from other resizeable blocks e.g. image which cannot be resized unless their rendering mode is normal.
Testing Instructions
Testing Instructions for Keyboard
N/A
Screenshots or screencast
Before
After