Open mitcht opened 8 months ago
TypeError: Cannot set property defaults of #
Same issue!, Did you get any solution ?
@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 Thanks for your response but, not getting your point :(
Make sure you have the latest version of GrapesJS
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.