domma-cms 1.51.1 → 1.51.2

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 CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.51.2] - 2026-11-10
4
+
5
+ - Keep page editor comment and code fence highlighting in the same type style as the textarea, so visible text lines up with clicks and drag selection across fonts, wrapping and scrolling.
6
+
3
7
  ## [1.51.1] - 2026-11-10
4
8
 
5
9
  - Save photo crops drawn directly on the image, and keep the crop toolbar toggle in sync with the selection. Previously these crops were silently ignored unless the toolbar had been used first.
@@ -584,7 +584,8 @@
584
584
  .pe-plain-host:has(> textarea[hidden]) { display: none !important; }
585
585
  .pe-plain-host .pe-plain-coloured::placeholder { color: var(--dm-text-muted); }
586
586
  .pe-plain-host .pe-plain-coloured::selection { background: color-mix(in srgb, var(--dm-primary) 35%, transparent); }
587
- .pe-plain-colours .dm-tok-comment { color: #8b949e; font-style: italic; }
587
+ /* Token styles must preserve glyph widths: the textarea underneath owns selection. */
588
+ .pe-plain-colours .dm-tok-comment { color: #8b949e; }
588
589
  .pe-plain-colours .dm-tok-string { color: #4f9e4f; }
589
590
  .pe-plain-colours .dm-tok-keyword { color: #b559c8; }
590
591
  .pe-plain-colours .dm-tok-literal { color: #2f9bb3; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "domma-cms",
3
- "version": "1.51.1",
3
+ "version": "1.51.2",
4
4
  "description": "File-based CMS powered by Domma and Fastify. Run npx domma-cms my-site to create a new project.",
5
5
  "type": "module",
6
6
  "main": "server/server.js",