Kadence overwrites Elementor TinyMCE styles
-
Hi,
it seems that Kadence theme overwrites the CSS styles of TinyMCE, used in Elementor to edit a text section. But I’m not really sure about this, or is Elementor doing this?
Clearly I can say that with Kadence Theme active and while editing in Elementor you can find a new style “body.mce-content-body” with “color: var(–global-palette4);” and “font-family: var(–global-body-font-family);” for example. These are referring to Kadence settings. You can find this in the sourcecode, part of a javascript called “tinyMCEPreInit” at the end of a parameterlist.
So if you have H2 at 40px you will see a very big H2 in the Text Editor.
This is getting even worse if you want white font color on black background on the website – now you have white text on white background in the text editor of elementor.
So is Kadence responsible for this, or Elementor?
If I switch to OceanWP the problem is gone, because there is no “body.mce-content-body” in the styles, the function “tinyMCEPreInit”s parameter list is shorter.
`
- The topic ‘Kadence overwrites Elementor TinyMCE styles’ is closed to new replies.