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

Tab selection is not keeping when switching languages when {% tab label=“”} is translated. #2895

Open
tequdev opened this issue Dec 7, 2024 · 0 comments

Comments

@tequdev
Copy link
Contributor

tequdev commented Dec 7, 2024

https://xrpl.org/docs/references/protocol/ledger-data/ledger-entry-types/directorynode

As an example, if you change the language on the DirectoryNode page, the tabs in the Example DirectryNode JSON section will be unselected.

スクリーンショット 2024-12-07 14 50 07

Since label, which is the display content, is the key for tabs, it should be possible to specify key in addition label.

{% tabs %}
{% tab label=“some text”}
{% /tab %}
{% /tabs %}
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

1 participant