diff --git a/.env b/.env
index d0a789a3..7a16f661 100644
--- a/.env
+++ b/.env
@@ -2,6 +2,6 @@ MERMAID_DOMAIN=''
MERMAID_ANALYTICS_URL=''
MERMAID_RENDERER_URL='https://mermaid.ink'
MERMAID_KROKI_RENDERER_URL='https://kroki.io'
-MERMAID_IS_ENABLED_MERMAID_CHART_LINKS=''
+MERMAID_IS_ENABLED_MERMAID_CHART_LINKS='true'
# cp .env .env.local to make local changes
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 12163b5c..2c07ca50 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -49,6 +49,6 @@ jobs:
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
- name: playwright-report
- path: playwright-report/
- retention-days: 30
+ name: test-results
+ path: test-results/
+ retention-days: 7
diff --git a/package.json b/package.json
index 4b29e59a..9429f231 100644
--- a/package.json
+++ b/package.json
@@ -115,7 +115,7 @@
]
},
"engines": {
- "node": ">=20.19.1"
+ "node": ">=20.19.0"
},
"packageManager": "pnpm@10.10.0+sha512.d615db246fe70f25dcfea6d8d73dee782ce23e2245e3c4f6f888249fb568149318637dca73c2c5c8ef2a4ca0d5657fb9567188bfab47f566d1ee6ce987815c39",
"pnpm": {
diff --git a/src/lib/components/Editor.svelte b/src/lib/components/Editor.svelte
index 24fe6cfd..c03d15cd 100644
--- a/src/lib/components/Editor.svelte
+++ b/src/lib/components/Editor.svelte
@@ -32,20 +32,25 @@
Syntax error
- {#if env.isEnabledMermaidChartLinks}
-
Create a free account to repair with AI
+ {#if env.isEnabledMermaidChartLinks && $stateStore.editorMode === 'code'}
+
+ Create a free account to repair with AI
+
{/if}
-
-
-
+ {#if $stateStore.editorMode === 'code'}
+
+
+
+ {/if}