@bobfrankston/rmfmail 1.2.278 → 1.2.280
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/.commitmsg +16 -26
- package/bin/build-tinymce.js +17 -2
- package/client/app.bundle.js +21 -2
- package/client/app.bundle.js.map +2 -2
- package/client/app.js +33 -1
- package/client/app.js.map +1 -1
- package/client/app.ts +30 -1
- package/npmchanges.md +51 -0
- package/package.json +1 -1
- /package/packages/mailx-imap/{node_modules.npmglobalize-stash-65048 → node_modules.npmglobalize-stash-18028}/.package-lock.json +0 -0
package/client/app.ts
CHANGED
|
@@ -5417,9 +5417,37 @@ async function openAboutDialog(): Promise<void> {
|
|
|
5417
5417
|
backdrop.addEventListener("mousedown", (e) => { if (e.target === backdrop) close(); });
|
|
5418
5418
|
|
|
5419
5419
|
try {
|
|
5420
|
-
|
|
5420
|
+
// The bundled editor's own version, read from the tree the editor
|
|
5421
|
+
// actually loads from — so it cannot drift from what is running. Both
|
|
5422
|
+
// specs are caret ranges and the resolved version moves whenever npm
|
|
5423
|
+
// re-resolves: tinymce sat at 8.6.0 for weeks under ^8.5.0 with nothing
|
|
5424
|
+
// to notice (Bob 2026-08-23, "do you track updates for TinyMCE?").
|
|
5425
|
+
// build-tinymce.js also prints it, but npmglobalize swallows a
|
|
5426
|
+
// sub-build's stdout — only "Build succeeded" reaches the archived
|
|
5427
|
+
// transcript — so the build log is NOT where this question gets
|
|
5428
|
+
// answered. Here it is answerable on the machine showing the symptom.
|
|
5429
|
+
// (Claude Code 2026-08-24)
|
|
5430
|
+
const editorBundle = async (): Promise<string> => {
|
|
5431
|
+
const readJson = async <T>(url: string): Promise<T> => {
|
|
5432
|
+
try {
|
|
5433
|
+
const r = await fetch(url);
|
|
5434
|
+
return r.ok ? await r.json() : null;
|
|
5435
|
+
} catch {
|
|
5436
|
+
return null;
|
|
5437
|
+
}
|
|
5438
|
+
};
|
|
5439
|
+
const [pkg, langs] = await Promise.all([
|
|
5440
|
+
readJson<{ version: string }>("lib/tinymce/package.json"),
|
|
5441
|
+
readJson<string[]>("lib/tinymce/langs/index.json"),
|
|
5442
|
+
]);
|
|
5443
|
+
if (!pkg?.version) return "";
|
|
5444
|
+
const n = langs?.length || 0;
|
|
5445
|
+
return n ? `TinyMCE ${pkg.version} · ${n} languages` : `TinyMCE ${pkg.version}`;
|
|
5446
|
+
};
|
|
5447
|
+
const [v, accounts, editorInfo] = await Promise.all([
|
|
5421
5448
|
getVersion().catch(() => ({} as any)),
|
|
5422
5449
|
getAccounts().catch(() => [] as any[]),
|
|
5450
|
+
editorBundle(),
|
|
5423
5451
|
]);
|
|
5424
5452
|
const storage = v.storage || {};
|
|
5425
5453
|
const isApp = typeof mailxapi !== "undefined" && mailxapi?.isApp;
|
|
@@ -5440,6 +5468,7 @@ async function openAboutDialog(): Promise<void> {
|
|
|
5440
5468
|
if (storage.folderId) rows.push(["Drive folderId", storage.folderId]);
|
|
5441
5469
|
if (storage.folderOwner) rows.push(["Drive owner", storage.folderOwner]);
|
|
5442
5470
|
if (storage.configDir) rows.push(["Config dir", storage.configDir]);
|
|
5471
|
+
if (editorInfo) rows.push(["Editor bundle", editorInfo]);
|
|
5443
5472
|
rows.push(["Accounts", String((accounts || []).length)]);
|
|
5444
5473
|
rows.push(["User agent", navigator.userAgent]);
|
|
5445
5474
|
rows.push(["Screen", `${screen.width}×${screen.height}`]);
|
package/npmchanges.md
CHANGED
|
@@ -564,3 +564,54 @@ Harper (English only) are untouched, and Quill/tiptap have no localized chrome.
|
|
|
564
564
|
tests/tinymce-langs.test.ts pins the resolution against the real manifest.
|
|
565
565
|
Needs rmf-tiny 0.1.52 for the adapter's `language` option.
|
|
566
566
|
|
|
567
|
+
## v1.2.278 — 2026-08-25
|
|
568
|
+
|
|
569
|
+
TinyMCE 8.6.0 → 8.8.2
|
|
570
|
+
|
|
571
|
+
Routine maintenance releases — no security advisories, no breaking changes
|
|
572
|
+
(all within major 8). Four of the fixes land on paths mailx actually uses:
|
|
573
|
+
|
|
574
|
+
- The menubar could wrap onto multiple rows on narrow viewports or at high
|
|
575
|
+
browser zoom, leaving little or no visible editable area (8.8.1). Same class
|
|
576
|
+
of failure as the v1.2.264 "body must fill the iframe" bug, and compose is
|
|
577
|
+
routinely used zoomed.
|
|
578
|
+
- CSS custom property names and colour values in a style attribute were
|
|
579
|
+
lowercased when parsed (8.7.0) — that is quoted mail passing through a
|
|
580
|
+
reply/forward.
|
|
581
|
+
- Copying or dragging in an image didn't set width/height on the tag (8.7.0),
|
|
582
|
+
which the inline-image → cid path then had to carry.
|
|
583
|
+
- The link plugin threw a querySelectorAll syntax error on anchors containing
|
|
584
|
+
semicolons (8.8.0). Mail bodies are full of odd links.
|
|
585
|
+
|
|
586
|
+
Also: undo not restoring the selection, deleting a newline in a list item
|
|
587
|
+
eating the item, and the emoticons dialog's 300-item cap (we load that plugin).
|
|
588
|
+
|
|
589
|
+
Verified before publishing: all 17 plugins we request still exist in 8.8.2, the
|
|
590
|
+
dom model is unchanged, and the package still ships no langs/ directory — the
|
|
591
|
+
61 packs added in 1.2.277 come from tinymce-i18n and are copied after the tree,
|
|
592
|
+
so the re-copy keeps them (62 files present, manifest included).
|
|
593
|
+
|
|
594
|
+
The spec moves from ^8.5.0 to ^8.8.2. The old floor already permitted 8.8.2;
|
|
595
|
+
the tree had simply drifted at 8.6.0 with nothing to notice it, which is what
|
|
596
|
+
prompted this. Raising the floor makes the intent explicit rather than leaving
|
|
597
|
+
a fresh install free to resolve lower.
|
|
598
|
+
|
|
599
|
+
## v1.2.279 — 2026-08-25
|
|
600
|
+
|
|
601
|
+
build-tinymce: report which TinyMCE and language-pack versions were copied
|
|
602
|
+
|
|
603
|
+
Both specs are caret ranges, so the resolved version moves on its own whenever
|
|
604
|
+
npm re-resolves the tree — tinymce sat at 8.6.0 for weeks under a ^8.5.0 spec
|
|
605
|
+
with nothing to notice ("do you track updates for TinyMCE?", Bob 2026-08-23).
|
|
606
|
+
|
|
607
|
+
Pinning exact would only trade silent drift for silent staleness: no more patch
|
|
608
|
+
fixes, and the surprise moves to whoever edits the pin. A dependency bot is the
|
|
609
|
+
wrong shape too — those work by filing PRs, and this repo publishes from the
|
|
610
|
+
local tree with direct commits.
|
|
611
|
+
|
|
612
|
+
So make it visible where it already costs nothing. Every publish archives its
|
|
613
|
+
build transcript to c:\temp\rebuild\, and build-tinymce.js already prints what
|
|
614
|
+
it copied; it now prints the resolved versions of tinymce and tinymce-i18n as
|
|
615
|
+
well. "Which TinyMCE shipped in 1.2.277?" is answerable from the log, with no
|
|
616
|
+
network call at build time and nothing to maintain.
|
|
617
|
+
|
package/package.json
CHANGED