xrpl-dev-portal icon indicating copy to clipboard operation
xrpl-dev-portal copied to clipboard

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

Open tequdev opened this issue 11 months ago • 1 comments

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 %}

tequdev avatar Dec 07 '24 05:12 tequdev