• Resolved Puck

    (@puck)


    I’ve noticed the lack of an “Edit with Elementor” in the Admin Bar on other sites I’ve worked on, but while setting up a new one saw exactly when it started: When Autoptomize got activated and set up. Tweaking its settings found that it’s not the CSS (which already excludes admin-bar.min.css) aggregation, but something with JS aggregation.

    I’m guessing there’s a new admin-bar file to add to the javascript exclusion list to fix this error but I’m unsure how to find it.

    For now disabling this re-enables “Edit With Elementor” which is fine during development. A long-term solution would be appreciated.

    • This topic was modified 4 years, 4 months ago by Puck.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    Not deep into Elementor, but based on the code I think excluding modules/admin-bar/assets/js/frontend/module.js might work.

    Alternatively you should be able to get things going by unticking the “also optimize for logged on editors/ administrators” option or adding plugins/elementor to the exclusion list should work, but that will stop AO from aggregating/ optimizing all Elementor files.

    hope this helps,
    frank

    Thread Starter Puck

    (@puck)

    Adding modules/admin-bar/assets/js/frontend/module.js (and also trying just modules/admin-bar/) didn’t work, but unticking “Also optimize for logged on editors/administrators” did. It even mentions pagebuilders there, d’ohh!

    This works, as I’m the only editor and don’t mind if my experience isn’t 100% perfectly cached. Thanks!

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    you’re welcome, feel free to leave a review of the plugin and support here! ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘“Edit with Elementor” hidden when Aggregate JS enabled’ is closed to new replies.