Skip to main content

(New Plugin) How to fix loading issues when switching from Plugin v1 to v2?

In this article, you'll learn how to fix the editor loading issue when migrating from Plugin v1 to v2.

Elmira avatar
Written by Elmira
Updated over a month ago

If you've recently upgraded from Plugin v1 to v2 and noticed the editor isn’t loading, you’re not alone. This issue typically arises from a single line of code.

Why does this happen?

In Plugin v1, the script tag used type="text/javascript" via initialization:


However, in Plugin v2, you must use type="module" to ensure the code loads properly and utilizes modern JavaScript features:

How to fix it?

Update your script tag to:

  • Incorrect:

<script type="text/javascript" src="path-to-stripo-plugin.js"></script>
  • Correct:

<script type="module" src="path-to-stripo-plugin.js"></script>


Once you make this change, the editor should load as expected in Plugin v2.


Thank you for taking the time to read our articles. We hope you will find this information helpful.


If you have any additional questions, please email us at support@stripo.email.

We would be glad to talk with you.


Did this answer your question?