Address canvas review and add paragraph shortcut

This commit is contained in:
2026-11-23 20:13:07 +08:00
parent 3e842aa35c
commit 4e3964a6eb
9 changed files with 87 additions and 28 deletions
+1 -1
View File
@@ -434,7 +434,7 @@ class AdminController
$section['alignments'] = Database::json($this->alignmentMap($alignments, ['title', 'lead']));
}
if ($presentation !== null) {
$section['presentation'] = Database::json(CanvasStyle::normalize($presentation, CanvasStyle::SECTION));
$section['presentation'] = CanvasStyle::encode(CanvasStyle::normalize($presentation, CanvasStyle::SECTION));
}
$this->checkSection($section, $section['style']);
if (isset($fields['body'])) {