Opened 8 months ago
Last modified 3 months ago
#56852 reopened enhancement
Support IDs in block wrapper attributes
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 6.3 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Editor | Keywords: | gutenberg-merge |
Focuses: | Cc: |
Description
At the moment dynamic rendered blocks don't support anchors.
To enable this support, we need to add this feature to the Editor and add the id in get_block_wrapper_attributes() to the block.
I already created a PR to add this support to the editor:
https://github.com/WordPress/gutenberg/pull/44771
This ticket is for adding it to the renderd block HTML.
Change History (11)
This ticket was mentioned in PR #3497 on WordPress/wordpress-develop by @Soean.
8 months ago
#1
- Keywords has-patch added
#2
@
5 months ago
- Milestone changed from Awaiting Review to 6.2
It would be good if we could solve this in 6.2
#3
@
4 months ago
This ticket is blocked until the corresponding editor PR is merged and backported to Core.
I've reached out to @annezazu to get confirmation on whether this is likely to land in 6.2.
Let's give the Editor Triage/Tech leads time to evaluate if this can land, otherwise we can move this ticket to the 6.3 milestone when it becomes available.
#4
@
4 months ago
The editor PR is merged.
I backported the PHP changes to this ticket PR: https://github.com/WordPress/wordpress-develop/pull/3497
@ntsekouras commented on PR #3497:
4 months ago
#8
Committed via: https://core.trac.wordpress.org/changeset/55230
Adds the support for the ID attribute for dynamic rendered blocks.
Trac ticket: https://core.trac.wordpress.org/ticket/56852
Enable support in the Editor: https://github.com/WordPress/gutenberg/pull/44771