sync: update from private repo (bfcd4d5)
CI / build-and-test (push) Has been cancelled

This commit is contained in:
oss-sync
2026-06-11 15:12:40 +00:00
parent c5be399fdd
commit 641fe0177d
15 changed files with 988 additions and 133 deletions
+4 -2
View File
@@ -146,7 +146,9 @@ export function SkillsForm() {
const handleStartEdit = () => {
if (detailQuery.data) {
setEditContent(detailQuery.data.content);
// Edit the FULL file (frontmatter + body). Loading body-only `content`
// and saving it back drops the frontmatter and deletes the skill.
setEditContent(detailQuery.data.raw);
setEditMode(true);
setError(null);
}
@@ -370,7 +372,7 @@ export function SkillsForm() {
</div>
) : (
<pre className="whitespace-pre-wrap text-xs font-mono text-slate-700 bg-surface/50 border border-hairline rounded p-3 max-h-[400px] overflow-y-auto">
{detailQuery.data.content}
{detailQuery.data.raw}
</pre>
)}