HansSchouten / Laravel-Pagebuilder

A drag and drop pagebuilder to manage pages in any Laravel project
https://www.phpagebuilder.com
MIT License
799 stars 184 forks source link

Updating GrapesJS version causing issues #137

Open annus97 opened 2 years ago

annus97 commented 2 years ago

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.

Zeeshan-1313 commented 1 year ago

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

annus97 commented 1 year ago

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

Zeeshan-1313 commented 1 year ago

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

annus97 commented 1 year ago

yes