diff --git a/components.json b/components.json index 4398a0f7..b4b4758a 100644 --- a/components.json +++ b/components.json @@ -1,17 +1,17 @@ { - "$schema": "https://next.shadcn-svelte.com/schema.json", - "style": "new-york", - "tailwind": { - "config": "tailwind.config.js", - "css": "src/app.postcss", - "baseColor": "slate" - }, - "aliases": { - "components": "$lib/components", - "utils": "$lib/utils", - "ui": "$lib/components/ui", - "hooks": "$lib/hooks" - }, - "typescript": true, - "registry": "https://next.shadcn-svelte.com/registry" + "$schema": "https://next.shadcn-svelte.com/schema.json", + "style": "new-york", + "tailwind": { + "config": "tailwind.config.js", + "css": "src/app.postcss", + "baseColor": "slate" + }, + "aliases": { + "components": "$lib/components", + "utils": "$lib/utils", + "ui": "$lib/components/ui", + "hooks": "$lib/hooks" + }, + "typescript": true, + "registry": "https://next.shadcn-svelte.com/registry" } diff --git a/src/lib/components/Editor.svelte b/src/lib/components/Editor.svelte index 3feede90..d9d14725 100644 --- a/src/lib/components/Editor.svelte +++ b/src/lib/components/Editor.svelte @@ -8,6 +8,8 @@ + + + + + {@render children()} + + + + Opens a new tab in Mermaid Chart + + + + diff --git a/src/lib/components/MainMenu.svelte b/src/lib/components/MainMenu.svelte index cf9035a0..329ea838 100644 --- a/src/lib/components/MainMenu.svelte +++ b/src/lib/components/MainMenu.svelte @@ -1,4 +1,5 @@ + + diff --git a/src/routes/edit/+page.svelte b/src/routes/edit/+page.svelte index 7ea8f80e..14cce1ff 100644 --- a/src/routes/edit/+page.svelte +++ b/src/routes/edit/+page.svelte @@ -1,5 +1,6 @@
+ Opens a new tab in Mermaid Chart +