docs: each showcase shot opens the tab its feature lives in

A shot names a ribbon tab and, optionally, where the caret goes: the tables
one lands in a cell, so the contextual Table Layout tab is up. The floating
table toolbar is hidden while shooting — it covered the table the ribbon is
already showing. `data-tab` on the tab buttons is what the script clicks.
This commit is contained in:
Steffen Becker committed 2026-09-06 19:07:24 +02:00
1 parent 9b426832e1
commit 99f10c9399
20 files changed
+21 -11

No files matched your search

+1
View File
@@ -278,6 +278,7 @@
{#each shown as id}
<button
class="ribbon-tab"
data-tab={id}
class:active={tab === id}
class:contextual={!(TABS as readonly string[]).includes(id)}
onclick={() => { tab = id; collapsed = false; }}