[wp-trac] [WordPress Trac] #59472: Beta 1: Edit post shows block validation failed for `core/heading`
WordPress Trac
noreply at wordpress.org
Wed Sep 27 06:39:11 UTC 2023
#59472: Beta 1: Edit post shows block validation failed for `core/heading`
---------------------------------------+------------------------------
Reporter: mukesh27 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: trunk
Severity: normal | Resolution:
Keywords: needs-patch needs-testing | Focuses: administration
---------------------------------------+------------------------------
Comment (by andrewserong):
I wonder where this is coming from? I can see the warning, too. If I
manually copy in markup that includes the block comment specifying the
correct heading level, it seems to work okay for me in 6.4:
{{{
<!-- wp:heading {"level":1,"className":"screen-reader-text"} -->
<h1 class="wp-block-heading screen-reader-text">Posts</h1>
<!-- /wp:heading -->
}}}
Could there be a block pattern (or preview) somewhere that has illegal
markup or is missing the `level` in the block comment delimiter?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59472#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list