GrapesJS / preset-newsletter

GrapesJS preset configuration for the newsletter editor.
https://grapesjs.com/demo-newsletter-editor.html
BSD 3-Clause "New" or "Revised" License
193 stars 143 forks source link

After resizing the image getting error and not able to other blocks #95

Closed techwalter closed 1 year ago

techwalter commented 3 years ago

Steps:

  1. Open https://grapesjs.com/demo-newsletter-editor.html
  2. Resize any image and check console

Uncaught TypeError: Cannot read property 'get' of undefined at r.isTargetStylable (PropertyView.js:504) at r.checkVisibility (PropertyView.js:326) at r.targetUpdated (PropertyView.js:269) at Et (index.js:759) at r.<anonymous> (index.js:772) at r.<anonymous> (index.js:113) at m (backbone.js:371) at v (backbone.js:356) at d (backbone.js:151) at r.c.trigger (backbone.js:346)

adarsh-thakur commented 3 years ago

Any Solution? Work Around?? facing the Same issue

adarsh-thakur commented 3 years ago

@techwalter I upgraded my grapesjs to 0.16.34 from 0.16.22 and downgraded grapesjs-preset-newsletter to 0.2.15 from 0.2.20. and it worked for me.

haesungJoo commented 3 years ago

I got a same before when i used grapesjs 0.16.30 & grapesjs-preset-newsletter 0.2.20 then i solved with using grapesjs ver. 0.16.34 (it worked!! u guys might don't care but i am so happy now lol)