grapesjs-lory-slider icon indicating copy to clipboard operation
grapesjs-lory-slider copied to clipboard

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

Open mitcht opened this issue 1 year ago • 4 comments

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 avatar Feb 16 '24 15:02 mitcht

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

Same issue!, Did you get any solution ?

rdhathaliya avatar May 24 '24 10:05 rdhathaliya

@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.

CarComp avatar May 24 '24 10:05 CarComp

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

rdhathaliya avatar May 28 '24 13:05 rdhathaliya

Make sure you have the latest version of GrapesJS

valerito avatar Sep 16 '24 11:09 valerito