• Hi

    We got informed about a conflict between your plugin and ours here https://ww.wp.xz.cn/support/topic/several-edition-interface-issues/#post-12683146

    After some code checking I think the simplest solution would be changing:

    add_action("admin_enqueue_scripts", array($this, 'adminEnqueueScripts'), 1);

    to

    add_action("enqueue_block_editor_assets", array($this, 'adminEnqueueScripts'), 1);

    With this your JS will be enqueued only in the editor itself and not on every page in admin panel.

    You may also think about using enqueue_block_assets instead of wp_enqueue_scripts – just remember it loads the stuff on front and backend too.

    Good luck 🙂

The topic ‘Conflicts in admin panel (outside the editor itself)’ is closed to new replies.