[wp-trac] [WordPress Trac] #61406: Heading block attribute type issue

WordPress Trac noreply at wordpress.org
Thu Sep 18 08:28:22 UTC 2025


#61406: Heading block attribute type issue
-------------------------------+------------------------------
 Reporter:  metaphorcreations  |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Posts, Post Types  |     Version:  6.5.4
 Severity:  normal             |  Resolution:
 Keywords:  needs-test-info    |     Focuses:
-------------------------------+------------------------------

Comment (by andfinally):

 I believe this is a problem related to a clash of WordPress versions.

 The `rich-text` type was added to the core image `block.json` in commit
 https://github.com/WordPress/WordPress/commit/1de40f71be71a2ae45fb615e06a2279b8ad363a0,
 which brought in Gutenberg 16.7 RC2.

 The docs don't list `rich-text` as an allowed data type for block
 attributes: https://developer.wordpress.org/block-editor/reference-guides
 /block-api/block-attributes/#type-validation. But at a certain point, this
 type started appearing in a lot of block configs, so presumably it is now
 supported.

 In our case, I think our unit test env is running an older version of
 WordPress which doesn't support `rich-text` in the image block.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61406#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list