It would be really convenient to have the ability to set what the anchor tag will be for a given tab. Looking at the code, I was able to create the attached patch which adds this functionality. To use, when defining a tabpage set the '#tab_name' to whatever you would like as the anchor tag. If left undefined, the default "tags-[tabset_name]-[index]" will be used. Really simple change that would help out linking to pages that have dynamically-generated tabsets.

CommentFileSizeAuthor
tabname.diff1.27 KBfractile81

Comments

nedjo’s picture

Status: Needs review » Reviewed & tested by the community

Nice! Please go ahead and commit this.

fractile81’s picture

Excellent! I'll look at applying this later tonight, then.

fractile81’s picture

Status: Reviewed & tested by the community » Fixed

Applied to HEAD.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.