Do you mean add a property box for an anchor, CSS ID, or both?
I don’t think I understand the distinction you’re making. I’d like for the outermost wrapper of the an container markup for the an container to be able to have an ID, e.g <div class=“ab-whatever” id=“myidsetintheblocksettings”>
This would allow for the wrapper itself to be used as an anchor, as typically we’re wanting to scroll the user to that section of the page, not to the heading (which might be vertically centered and scroll the user a bit too far to see the top of an image next to it or whatever).
I guess really I don’t know what the downside would be to having this setting on all AB blocks.
When you use the word “Anchor”, HTML anchor links spring to mind rather than a CSS ID. I’m wrapping my AB Containers in a Group block to add HTML anchors at the moment, it would be nice to have the property on the AB Container block itself 🙂
I hadn’t thought of using the group block for this. That would work but feels a little unnecessary (and also might screw up some css meant to target AB containers directly inside the content wrapper, as I sometimes do in order to enforce consistent padding on mobile).
Hey folks, thanks for the request! I’ve added this to our Github issues board as an enhancement. We’ll see about adding this in one of the next few updates!