@bobfrankston/rmfmail 1.2.320 → 1.2.321

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 CHANGED
@@ -1,14 +1,10 @@
1
- Compose (Quill): typing after a pasted or edited link is plain text
1
+ Compose: a thin 3 cm rule above the signature instead of "-- "
2
2
 
3
- Bob 2026-09-10: "you can risk the change for Quill since it is a known
4
- bug and I can test it" the Quill counterpart of v1.2.319's TinyMCE fix.
5
-
6
- Quill carries the format of the character before the caret into what is
7
- typed next, so every place that inserted a linked run and then set the
8
- caret at its end (the five paste paths single-anchor clipboard, URL in
9
- an HTML clipboard, plain URL with and without a selection and both
10
- branches of the Edit-link dialog) left the next keystrokes extending the
11
- link. One hoisted placeCaretAfterLink(index) in createQuillEditor now
12
- does setSelection + format("link", false) for all seven sites; format()
13
- on a collapsed selection sets the cursor format, which is how the
14
- toolbar's own toggle-then-type works. Untested on Quill — Bob tests.
3
+ Bob 2026-09-10: "you seem to be putting a -- above the signature. If I
4
+ want it it should be part of my HTML. If you do it it should be a line
5
+ rather than -- and maybe three cm or an inch." The signature block in
6
+ compose.ts hard-coded the "-- " delimiter above acct.sig / acct.signature.
7
+ It is now a left-aligned <hr> 3 cm wide, 1 px, grey, inline-styled since
8
+ no stylesheet travels with mail. Anything else belongs in the signature
9
+ HTML itself. Trade-off noted to Bob: other clients use "-- " to trim a
10
+ quoted signature; without it some will quote it back.
@@ -65,3 +65,4 @@ tests/trust.test.ts, .commitmsg, TODO.md C165, root version 1.2.311. Then rebuil
65
65
  - v1.2.318: New event Calendar picker (writable calendars via accessRole from listCalendars). Store-sync drain now passes calendarId to create/update/delete (was always "primary" — shared-calendar edits 404'd forever). Google: create/subscribe/share calendars on calendar.google.com; rmfmail lists the ones selected there.
66
66
  - v1.2.319: TinyMCE smart-paste left the caret INSIDE the pasted <a>; stepCaretOutOfPastedLink in client/compose/editor.ts moves it after the anchor one tick after paste. Quill path has the same shape (insertText link + setSelection) — untouched, Bob uses TinyMCE.
67
67
  - v1.2.320: Quill counterpart — placeCaretAfterLink(index) = setSelection + format("link", false) at 5 paste sites + 2 Edit-link dialog sites. Untested; Bob will switch editor to test.
68
+ - v1.2.321: signature block uses a 3cm <hr> instead of '-- ' (compose.ts sigBlock).
@@ -6248,7 +6248,8 @@ function applyInit(init) {
6248
6248
  sigHtml = acct.signature;
6249
6249
  }
6250
6250
  if (sigHtml) {
6251
- const sigBlock = `<br><br>-- <br>${sigHtml}`;
6251
+ const sigRule = '<hr style="width:3cm;margin:0.8em 0 0.5em 0;border:0;border-top:1px solid #999;">';
6252
+ const sigBlock = `<br>${sigRule}${sigHtml}`;
6252
6253
  bodyToRender = isReplyForward ? `<br>${sigBlock}<br>${bodyToRender}` : `${bodyToRender}${sigBlock}`;
6253
6254
  }
6254
6255
  }