Adding Medium Editor can be unreliable

Wappler Version : 2.4.5
Operating System : Windows 10

Expected behavior

Including the Medium Editor component should work without any manual editing of the code

Actual behavior

In some cases, the Javascript files added by the extention are added in the wrong order and will need reordering in order for the feature to work.

How to reproduce

If you select an existing textarea and click ‘Enable Medium Editor’, the editor works correctly.

If you select Medium Editor Textarea or Region, from the Elements panel, the files are listed in the wrong order and the editor will not work correctly.