Skip to content

[WIP] Block Support: Add anchor support for dynamic blocks #70995

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: update-anchor-support
Choose a base branch
from

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
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.

1 participant