@bobfrankston/rmfmail 1.1.142 → 1.1.143
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.
|
@@ -701,13 +701,16 @@ async function createTinyMceEditor(container2, opts = {}) {
|
|
|
701
701
|
// everything else so genuine HTML formatting (bold / italic /
|
|
702
702
|
// tables / inline color) still comes through verbatim.
|
|
703
703
|
content_style: [
|
|
704
|
-
// High-contrast caret
|
|
705
|
-
//
|
|
706
|
-
//
|
|
707
|
-
//
|
|
708
|
-
//
|
|
709
|
-
//
|
|
710
|
-
"body { font-family: system-ui, sans-serif; font-size: 14px; caret-color: #
|
|
704
|
+
// High-contrast caret. Default native bar shape (thin vertical
|
|
705
|
+
// line, browser-drawn — caret-shape:block was too aggressive).
|
|
706
|
+
// Color shifts by ancestor element so the caret doubles as a
|
|
707
|
+
// formatting-mode indicator: blue plain → red bold → green
|
|
708
|
+
// italic → orange underline. Innermost wrapper wins on
|
|
709
|
+
// combinations (em inside strong shows green).
|
|
710
|
+
"body { font-family: system-ui, sans-serif; font-size: 14px; caret-color: #1e88e5; }",
|
|
711
|
+
"b, strong { caret-color: #d32f2f; }",
|
|
712
|
+
"i, em { caret-color: #2e7d32; }",
|
|
713
|
+
"u { caret-color: #ef6c00; }",
|
|
711
714
|
"blockquote { border-left: 3px solid #c0c8d0; margin: 0 0 0 4px; padding: 2px 0 2px 10px; color: #555; }",
|
|
712
715
|
"div.reply { margin-top: 0.5em; }",
|
|
713
716
|
"div.reply > p:first-child { color: #666; font-size: 0.95em; margin: 0 0 4px 0; }",
|