-
I am trying to integrate https://splidejs.com/ into a custom component type. I am importing the Splide code in the canvas as described here https://grapesjs.com/docs/modules/Components-js.html#template-related.
my custom component type looks like
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
I could work around the issue by patching splidejs as follows (did not submit a PR).
|
Beta Was this translation helpful? Give feedback.
-
For the records, I have replaced Splide with Swiper. |
Beta Was this translation helpful? Give feedback.
-
Stumbled to this issue... I'm making some custom widgets for WordPress Elementor, and I'm using SplideJS. I get this same error in Elementor editor but only in Chrome, Firefox is working correctly. |
Beta Was this translation helpful? Give feedback.
For the records, I have replaced Splide with Swiper.
Swiper does not rely on
instanceof HTMLElement
out of the box, which simplifies my development.