• Nils

    (@sistemunils)


    Hello,

    I’m developer of multitude of WP sites, and lately encountering more often that EditorPlus styles are not being applied inside page, resulting in need of plain CSS solutions, or other plugins.

    Style is applied and saved inside gutenberg editor, but in multiple installations, it just does not affect anything. Just now, was applying padding

    And go inside site – no padding is applied. Finding “eplus-styles-uid-f9998e” class applied to the element, but no style definitions present inside “editorplus-generated-styles-header” block. It is not empty tho, there are couple of defintions there, so it is not that it is not working completely, just that most of them are missing, not generated.

    Digging deeper, I found unused “generate_styles_from_blocks()” function, but, I guess, “render_styles()” is the important function. Please, provide guidance how to debug your code, I am capable, but I don’t have much time to invest learning your solution.

    Just tried out WP playground, installed latest plugin version – as soon as I make that same change, it just tells about malformed JSON or invalid submit and can’t save post.

    To reproduce:

    1. Go to plugin page and download it https://www.ads-software.com/plugins/editorplus/
    2. Go to https://developer.www.ads-software.com/playground/
    3. Create new instance, install editorplus plugin
    4. Create new page
    5. Insert “row” block, add couple paragraphs inside
    6. Add unlinked padding with rem units inside, try to save
    7. See console errors
    8. Try doing that in pages/posts, also same issue
    • This topic was modified 1 year, 7 months ago by Nils.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Munir Kamal

    (@munirkamal)

    Hi,

    If you are only testing it on the WordPress playground, this issue relates to the playground as that seems not supporting it well. As per my tests everything works fine on a normal WordPress install.

    Please confirm if you are getting this issue on a normal WordPress installation on a web hosting or localhost?

    Thread Starter Nils

    (@sistemunils)

    @munirkamal yes, of course, it started with errors on my wp installations, and after that, I created playground to test if it is different there and managed to reproduce same issue.

    Plugin Author Munir Kamal

    (@munirkamal)

    Hi,

    We’ve fixed the issues with Editor Plus in the latest update that was released today. Please update the plugin and test it again on your website.

    Thank you for your patience and support.

    Best regards,
    Munir

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Bug – Style shows in editor, not applied in render’ is closed to new replies.