-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Open
Labels
[Feature] Block bindings[Type] IterationScoped iteration of an effort from a tracking issue or overview issue ideally for a major release.Scoped iteration of an effort from a tracking issue or overview issue ideally for a major release.
Description
Iteration of #60954.
This issue will be used to gather the new functionalities and bug fixes expected to be included in next WordPress releases. It will serve to share regular updates and progress.
Please keep in mind that the list of issues will change once new ones come up.
For this iteration, there will be two main focuses:
- Improve the UI and make it extensible: Right now, the UI to create bindings is only available post meta. The idea is to polish it and explore using DataViews, which comes with some benefits, and figure out the proper APIs to let other sources hook into this.
- Create mechanisms to support more blocks: As explained in this issue, there are a few limitations that need to be solved before allowing more blocks to use block bindings. Not all the limitations apply to all blocks, so the idea is to approach it progressively. For example, dynamic blocks only need the attributes locking and the opt-in mechanism solved. Or it can support basic CSS selectors as a first step for static blocks.
UI to create bindings
- Explore integrating DataViews in the UI.
- API for server sources without arguments.
- API for server sources with input arguments.
- API for server sources that want to reuse the "Fields UI".
- API for client sources that want to empower the Fields UI with reactivity or editing, for example.
- API for client sources that want their custom UI.
Support for more blocks
- Mechanism to let attribute controls know if they should be editable or not.
- Opt-in mechanism for bindings.
- Use
set_inner_html
in bindings processing. - Use HTML API CSS selectors in bindings processing.
- Open up "Pattern Overrides" and therefore intern block bindings to custom dynamic blocks: This one should be a consequence of working on the previous points.
- Add caption binding to Image Block. (Block Bindings: Add support to image caption attribute in block bindings #70642)
- Add bindings to Date Block. (Date block: Allow connecting to Block Bindings #70585)
Other
- Allow editing connected blocks in the site editor outside of post content.
- Support for connecting custom fields in any template.
- Explore the possibility of abstracting async calls.
Bug fixes
- Change "This block is connected" indicator to make it accessible.
- Keep bindings editor calls in their own logic useSelect.
- Synced Pattern block: Pass block context to pattern content
- Block API: Add special case for metadata attribute in 'isUnmodifiedBlock' (Block API: Add special case for metadata attribute in 'isUnmodifiedBlock' #70903)
Metadata
Metadata
Assignees
Labels
[Feature] Block bindings[Type] IterationScoped iteration of an effort from a tracking issue or overview issue ideally for a major release.Scoped iteration of an effort from a tracking issue or overview issue ideally for a major release.
Type
Projects
Status
🦵 Punted to 6.9