Skip to content
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

Table of Contents and Heading Ids #12

Closed
douglas-johnson opened this issue Jan 26, 2022 · 2 comments
Closed

Table of Contents and Heading Ids #12

douglas-johnson opened this issue Jan 26, 2022 · 2 comments

Comments

@douglas-johnson
Copy link
Member

douglas-johnson commented Jan 26, 2022

As of WordPress 5.9, headings are auto-assigned an id.

We may not need to do that any more in the front-end script for the table of contents.

Or we might still need to ensure the id is there because not all content will be recently edited.

@douglas-johnson
Copy link
Member Author

I think we could mark the auto id generation as deprecated, and remove it in a future version.

@douglas-johnson
Copy link
Member Author

This was made opt-in at some point after WP 5.9
WordPress/gutenberg#38780

We should consider opting in if this block is enabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant