[wp-trac] [WordPress Trac] #63840: Block Bindings: Support generic block attributes

WordPress Trac noreply at wordpress.org
Wed Aug 27 15:41:51 UTC 2025


#63840: Block Bindings: Support generic block attributes
--------------------------------------+------------------------------
 Reporter:  Bernhard Reiter           |       Owner:  Bernhard Reiter
     Type:  enhancement               |      Status:  closed
 Priority:  normal                    |   Milestone:  6.9
Component:  General                   |     Version:
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------------
Changes (by Bernhard Reiter):

 * owner:  (none) => Bernhard Reiter
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"60684" 60684]:
 {{{
 #!CommitTicketReference repository="" revision="60684"
 Block Bindings: Allow generically setting rich-text block attributes.

 Replace the existing block-specific, hard-coded, logic in the `WP_Block`
 class with more generic code that is able to locate and replace a `rich-
 text` sourced attribute based on the `selector` definition in its
 `block.json`.

 This should make it easier to add block bindings support for more block
 attributes.

 Props bernhard-reiter, jonsurrell, gziolo, cbravobernal, dmsnell.
 Fixes #63840.
 }}}

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


More information about the wp-trac mailing list