Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating GrapesJS version causing issues #137

Open
annus97 opened this issue Nov 22, 2022 · 4 comments
Open

Updating GrapesJS version causing issues #137

annus97 opened this issue Nov 22, 2022 · 4 comments

Comments

@annus97
Copy link

annus97 commented Nov 22, 2022

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
Copy link

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

@annus97
Copy link
Author

annus97 commented Nov 25, 2022

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

@Zeeshan-1313
Copy link

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

@annus97
Copy link
Author

annus97 commented Nov 30, 2022

yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants