• Resolved Guido

    (@guido07111975)


    Hi,

    My theme contains custom editor styles that are being applied to the classic (old) editor. I enqueue a stylesheet via my theme functions file.

    I notice the new editor contains some default styling to make the blocks look good in the editor.

    I was wondering if there’s default styling for the classic editor as well? Because when simply removing my custom editor styles no default styling is loaded, as far as I can see.

    Guido

Viewing 3 replies - 1 through 3 (of 3 total)
  • > I was wondering if there’s default styling for the classic editor as well?

    certainly should be – if you open your browser console you should see the requests

    in my case with WP 5.3.2…

    /wp-includes/js/tinymce/skins/lightgray/skin.min.css
    /wp-includes/js/tinymce/skins/lightgray/content.min.css
    /wp-includes/js/tinymce/skins/wordpress/wp-content.css
    Thread Starter Guido

    (@guido07111975)

    Hi,

    But that’s for the editor itself, not for elements inside the editor when setting up a page, such as ul, li, img, image alignment, etc.

    Guido

    Thread Starter Guido

    (@guido07111975)

    Found it: when removing add_editor_style() from my theme functions, the classic editor falls back to default TinyMCE styling.

    Guido

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Default editor styles for classic editor’ is closed to new replies.