getgrav / getgrav/grav-plugin-shortcode-ui

Any footnote in a tab is duplicated in each tab

Open
#45 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
CSS
Stars
48
Forks
11
PR merge metrics
No merged PRs in 30d

Description

Below, each of the 2 Tabs has one footnote. But both footnotes appear in both tabs.

![image](https://github.com/getgrav/grav-plugin-shortcode-ui/assets/65403912/21ed7cee-817b-4ef6-845b-34cba3088889)

Code for the example:
```
[ui-tabs position="top-left" active="0" theme="lite"]

[ui-tab title="Tab1"]
This tab introduces one footnote[^footNoteTab1].
[^footNoteTab1]: this footnote should appear only in Tab1.

Content of Tab1

[/ui-tab]

[ui-tab title="Tab2"]
This tab introduces one footnote[^footNoteTab2].
[^footNoteTab2]: this footnote should appear only in Tab2.

Content of Tab2

[/ui-tab]
[/ui-tabs]
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.