Skip to content

isHTMLElement returns false in grapesjs editor (in chrome/edge not in Firefox) #1272

Description

@redoC-A2k

Checks

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)

  1. Open codesandbox
  2. Open the preview url in new tab
  3. Click on the blocks button
    image
  4. Drag and drop carausel from caraousel section to canvas .
    image
  5. open the developer console , you should get error.

Expected Behaviour

Carousel should work as expected in chrome/edge.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions