I just need to include trumbowyg in a script.js (with type="module"), so I import simply like this :
import "../node_modules/trumbowyg/dist/trumbowyg.min.js"
But I have two problem, the first is that a function of jquery is deprecated $.isArray at line 804, so I reccomand you to change with this : Array.isArray and the second problem is about svg button who doesn't appear when I use "import" :
If you have an idea of the problem ?
Edit : It's work when I precise the option "svgPath"
Hi,
I just need to include trumbowyg in a script.js (with type="module"), so I import simply like this :
![image](https://user-images.githubusercontent.com/43851969/208405470-66ddacc7-5625-4018-b4da-0ac1c1cf20ac.png)
import "../node_modules/trumbowyg/dist/trumbowyg.min.js"
But I have two problem, the first is that a function of jquery is deprecated$.isArray
at line 804, so I reccomand you to change with this :Array.isArray
and the second problem is about svg button who doesn't appear when I use "import" :If you have an idea of the problem ?
Edit : It's work when I precise the option "svgPath"
Thanks