diff --git a/src/components/EditorTabs.d.ts b/src/components/EditorTabs.d.ts index 84cfb41..3def863 100644 --- a/src/components/EditorTabs.d.ts +++ b/src/components/EditorTabs.d.ts @@ -1,5 +1,6 @@ export type Tab = { label: string; + title?: string; text: string; persistent?: boolean; }; diff --git a/src/components/EditorTabs.svelte b/src/components/EditorTabs.svelte index e97e801..0537a35 100644 --- a/src/components/EditorTabs.svelte +++ b/src/components/EditorTabs.svelte @@ -73,6 +73,7 @@ aria-selected={ndx === selected} aria-controls={`${ns}-tabpanel`} class:active={ndx === active} + title={tab.title} onclick={() => selectTab(ndx)}> {tab.label} diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 70e9636..fd4ee9a 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -1,5 +1,6 @@