splide
splide copied to clipboard
isHTMLElement returns false in grapesjs editor (in chrome/edge not in Firefox)
Checks
- [X] Not a duplicate.
- [X] Not a question, feature request, or anything other than a bug report directly related to Splide. Use Discussions for these topics: https://github.com/Splidejs/splide/discussions
Version
4.1.4
Description
I want to make splidejs carausel plugin for grapesjs editor . But when carousel works fine in firefox , however when it doesn't works in chrome / edge . I get error - Error: [splide] A track/list element is missing.
Reproduction Link
https://codesandbox.io/p/github/redoC-A2k/grapesjs-carousel-component/main
Steps to Reproduce
(Make sure you use the chrome/edge browser)
- Open codesandbox
- Open the preview url in new tab
- Click on the blocks button
- Drag and drop carausel from caraousel section to canvas .
- open the developer console , you should get error.
Expected Behaviour
Carousel should work as expected in chrome/edge.