Allow enabling/disabling autogenerated anchors in heading blocks #38216
Labels
[Block] Heading
Affects the Headings Block
[Status] Duplicate
Used to indicate that a current issue matches an existing one and can be closed
[Type] Enhancement
A suggestion for improvement.
What problem does this address?
Gutenberg 11.8 introduced a mechanism to autogenerate HTML anchors in Heading blocks. While a useful enhancement, there are cases where it might desirable to disable the automatic generation of headings.
The desire to control this setting has been expressed a few times:
What is your proposed solution?
Adding a flag to enable/disable the automatic anchor generation would provide developers the flexibility to decide whether to use them or not. Some implementation options include:
The text was updated successfully, but these errors were encountered: