Skip to content

Conversation

@t-hamano
Copy link
Contributor

What?

This PR is based on #70993

Once #70993 is merged, the anchor attribute will always be saved as block comments, regardless of whether the block saves its HTML to the database.

This PR uses that attribute to inject the anchor attribute into HTML during dynamic rendering.

This enables anchor support for dynamic blocks.

Why?

How?

Testing Instructions

Testing Instructions for Keyboard

Screenshots or screencast

Before After

@t-hamano t-hamano self-assigned this Jul 31, 2025
@t-hamano t-hamano added [Type] Enhancement A suggestion for improvement. [Feature] Block API API that allows to express the block paradigm. labels Jul 31, 2025
Base automatically changed from update-anchor-support to trunk December 16, 2025 06:57
@t-hamano
Copy link
Contributor Author

Since #70993 has been merged, I'd like to close this PR and submit a new one.

@t-hamano t-hamano closed this Dec 22, 2025
@t-hamano t-hamano deleted the update-anchor-support-co-dynamic-block branch December 22, 2025 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Feature] Block API API that allows to express the block paradigm. [Type] Enhancement A suggestion for improvement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants