Panel: Clobber-Schutz, Content-Editor, Archiv-Reveal/Guard, Rechtschreib-Sprache
- register_mcp_server schreibt .claude.json nur bei fehlendem/abweichendem Eintrag (claudes Live-State nicht unnötig ueberschreiben). - Content-Editor im Panel (Rohtext-Textarea): Cmd/Ctrl+Enter speichert via panel_set, Esc verwirft; eingehende Updates werden waehrend der Bearbeitung gepuffert (Button "geaendert"), Speichern gewinnt. - Archivieren zeigt die Datei danach im Dateimanager (reveal_path_cmd, cfg pro OS). Breadth-Guard: Archiv-Ordner darf kein Home-Vorfahre sein, muss absolut sein; expand_home loest bare ~ auf. - Rechtschreibpruefung: Default in settings.json (spellcheckLang "de"), pro Text per Selector ueberschreibbar.
This commit is contained in:
+69
-3
@@ -76,6 +76,51 @@
|
||||
.panel-btn.copied {
|
||||
color: #a6e3a1;
|
||||
}
|
||||
.panel-btn.error {
|
||||
color: #f38ba8;
|
||||
}
|
||||
.panel-btn svg {
|
||||
display: block;
|
||||
stroke: currentColor;
|
||||
stroke-width: 1.3;
|
||||
fill: none;
|
||||
stroke-linecap: round;
|
||||
stroke-linejoin: round;
|
||||
}
|
||||
.panel-btn.active {
|
||||
background: #313244;
|
||||
color: #cdd6f4;
|
||||
}
|
||||
.panel-btn.changed {
|
||||
color: #f9e2af;
|
||||
}
|
||||
.panel-editor {
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
resize: none;
|
||||
border: none;
|
||||
outline: none;
|
||||
padding: 16px 20px;
|
||||
background: transparent;
|
||||
color: inherit;
|
||||
font-family: "JetBrains Mono", Menlo, monospace;
|
||||
font-size: 12px;
|
||||
line-height: 1.55;
|
||||
}
|
||||
.panel-editor[hidden] {
|
||||
display: none;
|
||||
}
|
||||
.panel-lang {
|
||||
margin-right: auto;
|
||||
background: #313244;
|
||||
color: #a6adc8;
|
||||
border: none;
|
||||
border-radius: 6px;
|
||||
padding: 3px 4px;
|
||||
font: inherit;
|
||||
font-size: 11px;
|
||||
cursor: default;
|
||||
}
|
||||
#panel-content {
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
@@ -159,10 +204,31 @@
|
||||
<button class="panel-btn panel-edit" id="panel-title-edit" title="Titel bearbeiten">✎</button>
|
||||
</div>
|
||||
<div class="panel-actions">
|
||||
<select class="panel-lang" id="panel-lang" title="Sprache der Rechtschreibprüfung">
|
||||
<option value="de">DE</option>
|
||||
<option value="en">EN</option>
|
||||
<option value="en-GB">EN-GB</option>
|
||||
<option value="fr">FR</option>
|
||||
<option value="es">ES</option>
|
||||
<option value="it">IT</option>
|
||||
<option value="nl">NL</option>
|
||||
</select>
|
||||
<button class="panel-btn" id="panel-mode" title="Rohtext / gerendert">MD</button>
|
||||
<button class="panel-btn" id="panel-copy" title="In die Zwischenablage">Kopieren</button>
|
||||
<button class="panel-btn" id="panel-archive" title="In den Archiv-Ordner speichern">Archivieren</button>
|
||||
<button class="panel-btn" id="panel-dock" title="Wieder andocken">Andocken</button>
|
||||
<button class="panel-btn" id="panel-content-edit" title="Entwurf bearbeiten (Cmd/Ctrl+Enter speichert, Esc verwirft)">
|
||||
<svg width="14" height="14" viewBox="0 0 16 16"><path d="M10.8 2.6 13.4 5.2 6 12.6l-3.1.5.5-3.1z" /><path d="M9.7 3.7 12.3 6.3" /></svg>
|
||||
</button>
|
||||
<button class="panel-btn" id="panel-copy" title="In die Zwischenablage kopieren">
|
||||
<svg width="14" height="14" viewBox="0 0 16 16"><rect x="5.5" y="5.5" width="8" height="8" rx="1.5" /><path d="M10.5 3.2V3A1.5 1.5 0 0 0 9 1.5H3A1.5 1.5 0 0 0 1.5 3v6A1.5 1.5 0 0 0 3 10.5h.2" /></svg>
|
||||
</button>
|
||||
<button class="panel-btn" id="panel-archive" title="In den Archiv-Ordner speichern">
|
||||
<svg width="14" height="14" viewBox="0 0 16 16"><rect x="1.5" y="2.5" width="13" height="3.5" rx="1" /><path d="M2.8 6v6.5a1 1 0 0 0 1 1h8.4a1 1 0 0 0 1-1V6" /><path d="M6.3 9h3.4" /></svg>
|
||||
</button>
|
||||
<button class="panel-btn" id="panel-dock" title="Wieder andocken">
|
||||
<svg width="14" height="14" viewBox="0 0 16 16"><rect x="1.5" y="2.5" width="13" height="11" rx="1.5" /><path d="M9.5 2.5v11" /><path d="M4 8h3.4M6 6.2 7.8 8 6 9.8" /></svg>
|
||||
</button>
|
||||
<button class="panel-btn" id="panel-close" title="Panel schließen">
|
||||
<svg width="12" height="12" viewBox="0 0 12 12"><path d="M3 3l6 6M9 3l-6 6" /></svg>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<div id="panel-content" class="md"></div>
|
||||
|
||||
Reference in New Issue
Block a user