Migrate interactive tutorials (post realm v0.70)

Attempt migrating interactive tutorial again

Migrate interactive tutorial snippet syntax

Interactive tutorials: partially migrate send-xrp, no-freeze to new syntax

Fix Send XRP interactive tutorial

Interactive tutorials: fixes for Redocly incl. localization challenges

Interactive tutorials: switch defaultValue back to value in anticipation of Redocly bugfix

Fix document.ready→window.onRouteChange, cyclers, etc. in interactive
tutorials.
This commit is contained in:
mDuo13
2023-12-21 13:57:58 -08:00
parent 4c9a8c0bf9
commit ee8acbbd22
41 changed files with 671 additions and 540 deletions

View File

@@ -1,12 +1,6 @@
{% if use_network is undefined or use_network == "Testnet" %}
{% set explorer_url = "https://testnet.xrpl.org" %}
{% elif use_network == "Devnet" %}
{% set explorer_url = "https://devnet.xrpl.org" %}
{% elif use_network == "Mainnet" %}
{% set explorer_url = "https://livenet.xrpl.org" %}
{% endif %}
{% interactive-block label=default($label, "Wait") steps=$frontmatter.steps %}
<table class="wait-step" data-explorerurl="{{explorer_url}}">
<table class="wait-step" data-explorerurl="https://testnet.xrpl.org"><tbody>
<tr>
<th>Transaction ID:</th>
<td class="waiting-for-tx">(None)</td>
@@ -24,4 +18,6 @@
</tr>
<tr class="tx-validation-status">
</tr>
</table>
</tbody></table>
{% /interactive-block %}