Edit Post: Fix the 'usePaddingAppender' error#61500
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: +4 B (0%) Total Size: 1.74 MB
ℹ️ View Unchanged
|
|
Flaky tests detected in 612d6c5. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/9003947204
|
What?
This is a follow-up to #60697.
PR fixes an error triggered by the
usePaddingAppenderhook when canvas has no blocks.Why?
A freshly created post does not have blocks; there's just a placeholder block appender that looks like a block.
Testing Instructions
Testing Instructions for Keyboard
Same.
Screenshots or screencast
CleanShot.2024-05-08.at.18.44.51.mp4