• Resolved Alan Gautham

    (@alangautham)


    Mail poet blocks custom styling to admin pages.

    Specifically, there’s this file:
    /mailpoet/lib/Util/ConflictResolver.php

    Starting on line #80 of that file, there is some code that apparently removes all custom CSS stylesheets from MailPoet’s admin pages. It only leaves a predefined list of allowed styles.

    I am using Admin menu editor for the styling admin page. Only Mailpoet blocks those custom styles. How to remove those blocking codes?
    Thank you in advance

    Alan

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi Alan,

    You’re right we automatically remove other scripts to prevent our editor from breaking.

    Currently there’s not an easy way to resolve this, all you can do for now is add the script names in the conflict resolver to be allowed, although this will be overwritten on an update and need to be re-applied.

    We’ll see if in the future we can add a filter for this to allow it outside of the plugin.

    Thanks!

    Thread Starter Alan Gautham

    (@alangautham)

    Understood. Thank you for your reply.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Blocking custom styling of admin pages’ is closed to new replies.