feat(F-062): completed feature

This commit is contained in:
chattie
2026-08-19 17:02:14 +02:00
parent e0411bc5a4
commit 52e30c39d7
12 changed files with 1246 additions and 20 deletions

View File

@@ -3157,6 +3157,37 @@
"close": true
},
"completed_at": "2026-08-19T14:56:06Z"
},
{
"id": "F-062",
"type": "feature",
"title": "CMS page editor becomes WYSIWYG with Lexical",
"problem": "CMS body field is edited with a plain textarea which forces admins to write raw HTML by hand",
"goal": "Editing pages in the CMS is WYSIWYG using Lexical. Output stays as HTML so existing public render and DB schema do not change",
"scope_in": [
"Add lexical and the @lexical scope to apps/admin; build a reusable LexicalEditor component with toolbar bold italic underline H2 H3 lists link undo redo; mount it inside the existing CMS form replacing the textarea; serialize to HTML on save"
],
"scope_out": [
"No backend schema change; no public render change; no new auth scope"
],
"priority": "med",
"risk": "low",
"description": "Problem: CMS body field is edited with a plain textarea which forces admins to write raw HTML by hand. Goal: Editing pages in the CMS is WYSIWYG using Lexical. Output stays as HTML so existing public render and DB schema do not change. Scope IN: Add lexical and the @lexical scope to apps/admin; build a reusable LexicalEditor component with toolbar bold italic underline H2 H3 lists link undo redo; mount it inside the existing CMS form replacing the textarea; serialize to HTML on save. Scope OUT: No backend schema change; no public render change; no new auth scope. Type: feature. Priority: med. Risk: low.",
"acceptance": [
"LexicalEditor renders in the CMS edit form with a working toolbar",
"Saved body is valid HTML and round-trips through the existing API",
"Existing pages still load with their current body unchanged",
"verify.sh is green"
],
"status": "done",
"created_at": "2026-08-19",
"gates": {
"reviewer": true,
"security": true,
"qa": true,
"close": true
},
"completed_at": "2026-08-19T15:02:14Z"
}
]
}