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
22.36k stars 4.05k forks source link

BUG: "storage:start:load" event is not being trigged #4289

Closed candidodmv closed 2 years ago

candidodmv commented 2 years ago

GrapesJS version

What browser are you using?

Chrome latest

Reproducible demo link

Bind "storage:start:load" to an editor instance and see the console.log output

Describe the bug

How to reproduce the bug?

  1. ...
  2. ...

What is the expected behavior? ... The event has been fired

What is the current behavior? ... The event is being ignored

If is necessary to execute some code in order to reproduce the bug, paste it here below:

// your code here

Code of Conduct

artf commented 2 years ago

Yeah with the current version you should bind the event in a plugin otherwise the first start:load is not captured. This should be fixed in the next release.