Sage overriding Visual Editor styling

I am using in my style p{color: white} and I have white color in my visual editor as well.

Why Sage is overriding Visual Editor styling from back-end?

Sage includes add_editor_style() by default.

Just comment out https://github.com/roots/sage/blob/master/src/setup.php#L69

1 Like

You could also add add lines to https://github.com/roots/sage/blob/master/assets/styles/layouts/_tinymce.scss to set the background color to match your front-end so that users have a better idea of what content will look like when published!

3 Likes