From 05d2a2c8419c52d09b3540649f52650276231b8f Mon Sep 17 00:00:00 2001 From: OpenSquared Date: Tue, 30 Jun 2026 11:17:43 +0200 Subject: [PATCH] fix: add save buttons at bottom of grammar panel in causal editor Co-Authored-By: Claude Sonnet 4.6 --- frontend/src/pages/CausalLab.tsx | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/frontend/src/pages/CausalLab.tsx b/frontend/src/pages/CausalLab.tsx index aaa76e5..8f5b817 100644 --- a/frontend/src/pages/CausalLab.tsx +++ b/frontend/src/pages/CausalLab.tsx @@ -1992,6 +1992,30 @@ function TabEditor({ initialId }: { initialId?: number | null }) { {aiError} )} + + {/* Save shortcuts — visible right after applying grammar changes */} +
+
Sauvegarder
+
+ {state.templateId && ( + + )} + +
+ {msg && ( +
+ {msg.text} +
+ )} +