xrpl-dev-portal
xrpl-dev-portal copied to clipboard
Tab selection is not keeping when switching languages when {% tab label=“”} is translated.
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.
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 %}