GrapesJS / components-lory

GrapesJS Slider Component by using lory
BSD 3-Clause "New" or "Revised" License
29 stars 30 forks source link

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

Open mitcht opened 8 months ago

mitcht commented 8 months ago

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.

rdhathaliya commented 5 months ago

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

Same issue!, Did you get any solution ?

CarComp commented 5 months ago

@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 commented 5 months ago

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

valerito commented 1 month ago

Make sure you have the latest version of GrapesJS