-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Closed
Labels
Needs Dev NoteRequires a developer note for a major WordPress release cycleRequires a developer note for a major WordPress release cycle[Feature] Block APIAPI that allows to express the block paradigm.API that allows to express the block paradigm.[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 the Block bindings API tracking issue.
This is what we expect to include in WordPress 6.6. We'll use this issue to share regular updates and progress.
- Bindings creation
Even though we'll probably won't add a UI to create bindings yet, we'd like to start discussing how it should work.
- Server APIs
- Improve the existing code
- Revisit how sources access the needed context.
- Editor APIs
- Improve the existing hook implementation.
- Add support for allowing editing.
- Simplify the HTML replacement logic until the HTML API is ready.
- Add callback so sources can decide when to lock/allow editing.
- Improve the UX when the editing of bound blocks is locked.
- Add bindings panel in the block inspector controls: Once/if this is merged, we can revisit the existing toolbar indicators.
- Filter pattern overrides source in bindings panel
- Notify on save when users edit the value of a connected custom field instead of the post content.
- Add indicator that an attribute is connected instead of hiding the controls.
- Define and implement UX for editing custom fields directly from blocks connected.
- Define how to work with placeholders.
- Revisit how sources access the needed context.
- Core sources
- Use block bindings editor API to update pattern overrides.
- Support editing in "Post meta" source.
Beta phase fixes
- Fix site editor breaking when user selects bound and non-bound blocks at the same time.
- Fix applying bindings or pattern overrides to button blocks with empty text.
- Revert changes to replacement logic to prevent reported bugs: Gutenberg & Core.
- Change bindings panel title and add description.
- Fix showing double icons for connected blocks.
- Pattern Overrides: Prevent normal attribute updates when a __default binding exists.
- Remove connections icon and fix padding.
- Add e2e test to ensure block bindings work well with symbols and numbers.
- Only run block bindings Gutenberg logic for sites using WordPress versions below 6.5.
- Use preview instead of publishing post in block bindings tests.
- Pattern overrides: disallow override for image with caption/href.
- Pattern Overrides: Unable to set some attributes like Image block Aspect Ratio when editing the original pattern
- Ensure custom field changes work fine with revisions.
sc0ttkclark and colorful-tones
Metadata
Metadata
Assignees
Labels
Needs Dev NoteRequires a developer note for a major WordPress release cycleRequires a developer note for a major WordPress release cycle[Feature] Block APIAPI that allows to express the block paradigm.API that allows to express the block paradigm.[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.