Compose: fold the quoted original behind a "•••" pill

A reply or forward now opens with the quote hidden, as the reading pane
shows it; the pill toggles it. The pill lives in the editor but is stripped
from everything reported out, and the quote is hidden by a class on the
editor rather than in its markup, so drafts and sent mail carry the full
quote. Only a quote the pill directly precedes is hidden, so deleting the
pill cannot strand it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-09-28 08:09:09 +02:00
co-authored by Claude Opus 5.5
parent fe3fd94165
commit 37bb6ef78d
3 changed files with 67 additions and 6 deletions
+24
View File
@@ -161,6 +161,30 @@ body {
background: rgba(180, 150, 100, 0.06);
}
/* The reply's quoted original folds behind a "•••" pill, as in the reading
pane. Only a quote the pill directly precedes is hidden, so deleting the pill
can never leave a quote hidden with no way back to it. */
.wmc-editor .wmc-quote-toggle {
display: inline-block;
margin: 6px 0;
padding: 1px 9px;
border: none;
border-radius: 8px;
background: rgb(var(--app-hover));
color: rgb(var(--app-muted));
cursor: pointer;
font: inherit;
font-size: 15px;
line-height: 1.5;
user-select: none;
}
.wmc-editor .wmc-quote-toggle:hover {
color: rgb(var(--app-fg));
}
.wmc-editor.wmc-quote-collapsed .wmc-quote-toggle + blockquote {
display: none;
}
/* Thin, unobtrusive scrollbars that match the theme. */
* {
scrollbar-width: thin;