Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Josh

    (@josh401)

    Hello,

    Yes, you are experiencing the differences between the stylesheets that are loaded into the editor… and by your theme.

    This article should shed some more light on the subject:
    https://learn.wpeditpro.com/editor-stylesheet/
    (It is intended for my Pro users… but it still contains relevant information).

    Another test would be to deactivate all your other plugins… especially if you are using any that modify the post editor behavior. This test would allow you to see if the issue persists with a plain install of WordPress; letting us know if another plugin is conflicting. You can reactivate the plugins after the test.

    Thread Starter tigerlight

    (@tigerlight)

    Thanks. I read your article and fixed it. I started by just copying the style.css to editor-style.css. That almost worked. There was an issue with a numbered list.

    Using the chrome inspector on the admin editor page I saw that there is no div with entry_content class. I eventually realized I could replace ‘.entry_content’ in editor-style.css with #tinymce. That seems to have given me all the formatting equivalence I need.

    So the solution was:

    within the theme folder
    (which for me is the genesis child theme executive_pro),

    – copy styles.css to editor-style.css
    — in editor-style.css replace all ‘.entry_content’ with ‘#tinymce’

    – add the following code to functions.php

    function executive_pro_add_editor_styles() {
    add_editor_style( 'editor-style.css' );
    }
    add_action( 'after_setup_theme', 'executive_pro_add_editor_styles' );

    Plugin Author Josh

    (@josh401)

    Excellent.
    Thank you for coming back to add the additional info.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘What I see in editor is not what I get in page view’ is closed to new replies.