Tab Link does not disappear in the list item. CMS-Tabs

Hello :slight_smile:
I tried to use CMS Tabs attribute. I’ve added all 3 attributes to my elements, including the tab-link attribute on a div.
In a note of the finsweet documentation we can read that :

The element on which you add this attribute will be moved inside of the corresponding Tab Link . On the published site, it will only appear in the Tab Link element, and disappear from its original position in the List Item element — that now shows up in the Tab Pane element.

But if I go to the live demo of the attribute, we can see that the tab-link is both inside the menu and the pane. I have the same issue on my website.

Am I missing something ?

Hey @guillaume! This could be a small bug! Thank you for pointing it out!

I’ll reach out to the team so we can fix if needed or correct the documentation!

1 Like

Hey @guillaume! Turns out the documentation is wrong, we do not remove the element from the tab, we clone it instead.

If your design does not require the element on the tab, you can simply use display: none to hide it.

I’ll update the docs accordingly!

1 Like