Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nested Tabs are broken #672

Closed
aCuria opened this issue Dec 25, 2024 · 3 comments
Closed

Nested Tabs are broken #672

aCuria opened this issue Dec 25, 2024 · 3 comments

Comments

@aCuria
Copy link

aCuria commented Dec 25, 2024

This used to work in the old format: {{< tabs "" >}}

`## Tabs

{{% tabs %}}

{{% tab "a" %}}
Content for tab "a"

{{% tabs %}}
{{% tab "1" %}}
Content for tab a1
{{% /tab %}}
{{% tab "2" %}}
Content for tab a2
{{% /tab %}}
{{% /tabs %}}

{{% /tab %}}

{{% tab "b" %}}
Content for tab "b"
{{% tabs %}}
{{% tab "1" %}}
Content for tab b1
{{% /tab %}}
{{% tab "2" %}}
Content for tab b2
{{% /tab %}}
{{% /tabs %}}
{{% /tab %}}

{{% /tabs %}}`

@alex-shpak
Copy link
Owner

alex-shpak commented Jan 9, 2025

Hi!
I see, it got broken here, during simplification
f8a0e89

I will think how to fix it

@alex-shpak alex-shpak mentioned this issue Jan 30, 2025
@alex-shpak
Copy link
Owner

After checking around, it got broken here: #649
Need to figure how to get it better ID generation

@alex-shpak
Copy link
Owner

Pushed a change, use id for tab {{% tabs "nested-1-or-something" %}} for them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@alex-shpak @aCuria and others