Search code examples
javascripttinymceyetanotherforumyaf

Tinymce5 mobile reply background colour issue


I am using tinymce5 with yet another forums. In mobile view the background is black I want it to be white but I am unsure as to what I need to change to get a white background.

In the reply box on clicking the edit image it's adding inline styles to the HTML tag and body tags. So I cannot just add class to init of tinymce and add styles to my style sheet for that class as the inline styles are set to !important.

Is there config setting somewhere I need to tweak?


Solution

  • Which version of TinyMCE 5 are you using? We fixed an issue with the mobile background colour in 5.0.2:

    https://github.com/tinymce/tinymce/blob/5.0.2/changelog.txt#L14