[wp-trac] [WordPress Trac] #60196: Twenty Twenty-One: List Item blocks have extra margin in editor
WordPress Trac
noreply at wordpress.org
Thu Jun 26 23:24:11 UTC 2025
#60196: Twenty Twenty-One: List Item blocks have extra margin in editor
-------------------------------------+-------------------------
Reporter: nidhidhandhukiya | Owner: karmatosed
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 6.8.2
Component: Bundled Theme | Version: 6.1
Severity: minor | Resolution:
Keywords: has-patch has-test-info | Focuses: css
-------------------------------------+-------------------------
Changes (by SirLouen):
* keywords: has-patch needs-testing => has-patch has-test-info
Comment:
== Test Report
=== Description
✅ This report validates that the indicated patch works as expected.
Patch tested:
https://core.trac.wordpress.org/attachment/ticket/60196/60196.patch
=== Environment
- WordPress: 6.9-alpha-60093-src
- PHP: 8.2.28
- Server: nginx/1.29.0
- Database: mysqli (Server: 8.4.5 / Client: mysqlnd 8.2.28)
- Browser: Chrome 137.0.0.0
- OS: Windows 10/11
- Theme: Twenty Twenty-One 2.5
- MU Plugins: None activated
- Plugins:
* Test Reports 1.2.0
=== Testing Instructions
1. Following exact instructions provided by OP
2. 🐞 The line spacing is massive in the editor. But the fun thing is that
it not line spacing between list elements but margins between `data-
blocks`.
=== Expected Results
- No margins between `data-blocks`
=== Actual Results
1. ✅ Issue resolved with patch.
=== Additional Comments
- I think there has been a little confusion
[https://core.trac.wordpress.org/ticket/60196#comment:5 here] and I also
had a hard time identifying the differences, but as @sabernhardt this is
affecting many other blocks and you might be doing so screenshots and
comparing side by side because differences are extremely subtle. Although
they have decided to move into #63549 because technically this is another.
I will be posting the corresponding test report there.
- But focusing on this specific patch I'm testing here, judging by the
screenshots I'm providing, I think the problem with lists is pretty clear,
`data-block` top and bottom margins for each element of the list is very
disastrous in the editor (while not affecting the front end)
=== Supplemental Artifacts
Lists without patch
[[Image(https://i.imgur.com/VpTSSl3.png)]]
Lists with patch
[[Image(https://i.imgur.com/bJ7UvXq.png)]]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60196#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list