Make WordPress Core

Opened 2 hours ago

Last modified 2 hours ago

#66768 new enhancement

Block Bindings: Add support for the Read More block's content attribute

Reported by: saranshsinha Owned by:
Priority: normal Milestone: Awaiting Review
Component: Editor Version:
Severity: normal Keywords: has-patch has-unit-tests
Cc: Focuses:

Description

Adds core/read-more with the content attribute to the list of block attributes supported by block bindings in get_block_bindings_supported_attributes().

This lets the Read More link text be connected to a binding source or overridden in a synced pattern, the same way Paragraph content can.

Gutenberg PR: ​https://github.com/WordPress/gutenberg/pull/87164
Tracking issue: ​https://github.com/WordPress/gutenberg/issues/78851

Change History (1)

This ticket was mentioned in ​PR #16135 on ​WordPress/wordpress-develop by ​@saranshsinha.


2 hours ago
#1

  • Keywords has-patch has-unit-tests added

Adds core/read-more with the content attribute to the block attributes supported by block bindings, so the Read More link text can be connected to a binding source or overridden in a synced pattern.

Backport of ​https://github.com/WordPress/gutenberg/pull/87164

Use of AI Tools

AI assistance: Yes
Tool(s): Claude Code
Model(s): Opus 5.5
Used for: Drafting the code, test and PR description; I reviewed the changes and verified them with PHPUnit and in the browser.

Note: See TracTickets for help on using tickets.