domma-cms 1.10.2 → 1.10.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/package.json +1 -1
- package/server/services/markdown.js +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.10.3] - 2026-10-24
|
|
4
|
+
|
|
5
|
+
- **The page editor keeps a page's nesting indent.** Format on save indented short tags by nesting, but the page loaded back flat: the editor reads the body from `parseMarkdown()`'s `content`, which had become the un-indented text the renderer parses. It is the body as written again.
|
|
6
|
+
|
|
3
7
|
## [1.10.2] - 2026-10-24
|
|
4
8
|
|
|
5
9
|
- Blocks, Components, Views and Content API now default to the Content menu. Existing menus move these entries from their former default folders once, preserving labels, permissions, settings and later admin rearrangements.
|
package/package.json
CHANGED
|
@@ -5014,7 +5014,8 @@ export async function parseMarkdown(raw, opts = {}) {
|
|
|
5014
5014
|
const allowed = new Set(_dmTagAllowlist.map(t => t.replace(/^dm-/, '')));
|
|
5015
5015
|
const filteredUsed = [...usedComponents].filter(name => allowed.has(name));
|
|
5016
5016
|
|
|
5017
|
-
|
|
5017
|
+
// `content` is the body as written: the editor loads it from here, and the nesting indent is the person's.
|
|
5018
|
+
return {data, content: written, html, usedComponents: filteredUsed, tags: [...tagSet], perViewer: flags.perViewer, hasExpiry:flags.hasExpiry};
|
|
5018
5019
|
}
|
|
5019
5020
|
|
|
5020
5021
|
/**
|