Using the richtext editor and even after looking through documentation, I’m unable to find a way to add anchor tags.
We should have the ability to add IDs in the rich text editor similarly to how we can just add a class. The only way seems to be by adding a link plus an id. An id should be addable irrespective of the link feature.
I agree, I’m facing similiar implementation and needing to create some workaround on this is not nice, ID attribute is native and importand of HTML so should be supported even for others purposes.