Skip to content

Commit 85b5a01

Browse files
committed
Enhance README.md for Editor Bindings to include WordPress 6.9+ UI integration details. Added information on getFieldsList() for exposing binding fields in the Block Bindings dropdown and linked to relevant resources for improved user guidance.
1 parent 99e82e8 commit 85b5a01

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

plugins/editor-bindings/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,13 @@ Some key ideas for this example:
2424
- **Editor Integration**: Uses WordPress Data API (`@wordpress/blocks` and editor store) to fetch and update post data in real-time
2525
- **Controlled Editability**: Implements `canUserEditValue()` to make title and excerpt editable while keeping permalink read-only
2626
- **Context-Aware**: Uses `postId` context to determine which post's data to fetch and display
27+
- **WordPress 6.9+ UI Integration**: Implements `getFieldsList()` to expose binding fields (Title, Excerpt, Permalink) in the editor's Block Bindings dropdown interface, allowing users to easily connect block attributes to custom data sources
2728

2829
## Related resources
2930

3031
- [Block Bindings API documentation](https://developer.wordpress.org/block-editor/reference-guides/block-api/block-bindings/)
3132
- [`registerBlockBindingsSource` documentation](https://developer.wordpress.org/block-editor/reference-guides/packages/packages-blocks/#registerbindingsource)
33+
- [Block Bindings improvements in WordPress 6.9](https://make.wordpress.org/core/2025/11/12/block-bindings-improvements-in-wordpress-6-9/)
3234

3335
---
3436

0 commit comments

Comments
 (0)