From 2bc447fab06f79ddfa9b0c6800d1a9341f6018a3 Mon Sep 17 00:00:00 2001 From: Ghassan Maslamani Date: Tue, 11 Jul 2023 14:50:29 +0300 Subject: [PATCH] fix: resolve #360 make style consistent across outlines This changes make the style consistent across the first three headline line levels 1. The first level add CSS prop initial 2. The second level change prop from capital to inital 3. No change --- src/editors/data/constants/tinyMCEStyles.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/editors/data/constants/tinyMCEStyles.js b/src/editors/data/constants/tinyMCEStyles.js index dca3507a3..38c9de699 100644 --- a/src/editors/data/constants/tinyMCEStyles.js +++ b/src/editors/data/constants/tinyMCEStyles.js @@ -120,6 +120,7 @@ const getStyles = () => ( font-size: 2em; line-height: 1.4em; margin: 0 0 1.41575em 0; + text-transform: initial; } .mce-content-body h2, .mce-content-body .hd-2 { @@ -129,7 +130,7 @@ const getStyles = () => ( font-weight: 300; font-size: 1.2em; line-height: 1.2em; - text-transform: uppercase; + text-transform: initial; } .mce-content-body h3, .mce-content-body .hd-3 {