HansSchouten/Laravel-Pagebuilder

Updating GrapesJS version causing issues

annus97 opened this issue · 4 comments

Hi,

I have updated the grapesjs version from 0.15.9 provided in the package to 0.17.27 by updating the import of CDN in the package due to the unavailability of many events in older grapesjs version. After updating the version I am getting error in the app.js file which is in the public/assets/pagebuilder folder, the same file which is in the dist folder of phpagebuilder package. The error is "Uncaught TypeError: Cannot read properties of null (reading 'attributes')". It occurs in other basic functionalities like changing button text or uploading image. The component is removed so accessing its attribute property is giving the error.
Is there any way to generate this app.js file for the latest version of grapesjs or any other proper way to update grapesjs version or how to resolve this error? Your feedback in this regard will be highly appreciated.

builder have much more functionality , you have to gothrogh in grapes and app and also Un-minify before altreation
Thank You

How to regenerate the app.js file after doing the change in library? Any command?

are your doing changes in builder app.js ? want to regenrate??

yes