Newsletter drafts with content blocks, a footer and Post as blog post; Home has no header dropdown
Tools → Newsletter saves drafts (migration 057: newsletters, with content blocks owned 'newsletter'), adds blocks written for the issue and an editable footer (no unsubscribe link: Mailchimp adds one), and turns a draft into an unpublished blog post. The admin engine binds child owner ids as text, so an auto-numbered record's blocks are owned by '1', not '1.0'. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
9daf7b1a4f
commit
e8ac242e6d
8 changed files with 575 additions and 34 deletions
|
|
@ -51,6 +51,7 @@ import { timeline } from "./admin-schema/timeline.js";
|
|||
import { frontPage } from "./admin-schema/frontPage.js";
|
||||
import { blogPosts } from "./admin-schema/blog.js";
|
||||
import { siteSettings } from "./admin-schema/siteSettings.js";
|
||||
import { newsletters } from "./admin-schema/newsletters.js";
|
||||
import {
|
||||
communityPage,
|
||||
retreatsPage,
|
||||
|
|
@ -74,6 +75,7 @@ export const ENTITIES = {
|
|||
organization_page: organizationPage,
|
||||
history_page: historyPage,
|
||||
site_settings: siteSettings,
|
||||
newsletters,
|
||||
};
|
||||
|
||||
/* ── Options for the form's select inputs ────────────────────── */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue