GrapesJS / grapesjs

Free and Open source Web Builder Framework. Next generation tool for building templates without coding
https://grapesjs.com
BSD 3-Clause "New" or "Revised" License
20.78k stars 3.9k forks source link

BUG: GrapeJs not loading on browsers sometimes #5923

Closed MarceloBD closed 1 month ago

MarceloBD commented 1 month ago

GrapesJS version

What browser are you using?

Firefox 126.0.1

Reproducible demo link

https://grapesjs.com/demo.html

Describe the bug

How to reproduce the bug?

  1. Open your firefox browser and go to the demo link

What is the expected behavior? The editor should show a white screen canvas with components. It should be possible to drag and drop components into the screen.

What is the current behavior? The editor is gray and no components are visible. It's not possible to drag and drop components. When click on layers menu it throws an error.

Uncaught TypeError: model is undefined
      n ItemView.ts:129
    o Backbone
    render index.ts:340
    run OpenLayers.ts:20
    callRun CommandAbstract.ts:123
    runCommand index.ts:391

sometimes it doesnt load on anonymous tab too, but sometimes it does. Very strange behavior. I am checking the code if I can debbug it.

Code of Conduct