Block support: Anchor

This document is part of the WordPress block reference and is intended for developers.

The anchor block supports adds an additional input field for the anchor ID in the Advanced panel of the block settings sidebar. Use the anchor to link directly to the block.

Anchor is opt-in. To enable it in your custom block, set its value to true:

"supports": {
	"anchor": true
}
List all WordPress core blocks that supports anchor:

View blocks per attribute or block support: