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

Reproduceable: Cannot set property defaults of #<o> which has only a getter on latest version of GrapesJS #18

Open
mitcht opened this issue Feb 16, 2024 · 4 comments

Comments

@mitcht
Copy link

mitcht commented Feb 16, 2024

https://jsfiddle.net/0srph1k7/

Adding the release version of the GrapesJS Lory Slider Plugin results in an error. Cannot set property defaults of # which has only a getter

I've tried passing the default method into the grapesjs plugin array, but the result is still the same.

Tested in Chrome Version 121.0.6167.185 (Official Build) (64-bit)
Tested in Brave Version 1.62.165 Chromium: 121.0.6167.184 (Official Build) (64-bit)
Tested in Edge Version 121.0.2277.112 (Official build) (64-bit)

See fiddle above.

@mitcht mitcht changed the title Reproduceable: Cannot set property defaults of #<o> which has only a getter Reproduceable: Cannot set property defaults of #<o> which has only a getter on latest version of GrapesJS Feb 16, 2024
@rdhathaliya
Copy link

TypeError: Cannot set property defaults of # which has only a getter

Same issue!, Did you get any solution ?

@CarComp
Copy link

CarComp commented May 24, 2024

@rdhathaliya no. He won't address it. You will have to go in and manually clean up any attributes on the object itself. It kind of sucks but it works. Try comparing the json from your use case to what comes out of the grapes demo page. It should be relatively obvious which objects you need to remove.

@rdhathaliya
Copy link

@CarComp Thanks for your response but, not getting your point :(

@valerito
Copy link

Make sure you have the latest version of GrapesJS

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

4 participants