• Resolved julianoe

    (@julianoe)


    Is this normal and/or necessary that the /dist/editor.js is added on front-end?

    200ko of scripts to add 2 buttons is really huge.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Charles Cormier

    (@charlescormier)

    Hi @julianoe,
    We fixed the issue and released a new version. Please update the plugin to the new version.
    Thanks!

    Thread Starter julianoe

    (@julianoe)

    I was about to post that comment : That’s way better! Another way to optimize that would be real nice would be not to enqueue AOS scripts and styles if not used and not enqueue FontAwesome file if not used. I only use button with custom SVG icons and that comes adding requests and weight that is not used on the website :/

    But I just realize: do you really add the button with javascript on the front??? When I dequeue the AOS script (I use AOS from another plugin and don’t need to have it 2 times loaded), the button disappears…

    Plugin Author Charles Cormier

    (@charlescormier)

    Hi @julianoe,

    Now the button can run without AOS script in new version, you can dequeue the AOS scripts. Please update the plugin to the new version.

    Thanks!

    Thread Starter julianoe

    (@julianoe)

    Awesome! Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Editor.js on frontend? Scripts are really big’ is closed to new replies.