GrapesJS / mjml

Newsletter Builder with MJML components in GrapesJS
http://grapesjs.com/demo-mjml.html
BSD 3-Clause "New" or "Revised" License
637 stars 227 forks source link

Paste error with CKEDITOR : this.getChildrenContainer(...) is null #87

Closed LoFromCaumont closed 1 year ago

LoFromCaumont commented 5 years ago

Hi, a have a weird JS error when pasting anything (even a single character) at the EDGEs of the text. No problem pasting INSIDE existing text. I tried with differents versions of JQUERY and CKEDITOR. Always the same bug. I think having all required plugins for CK. An idea ?

2018-10-19_142046

jmchaves commented 5 years ago

Hey @LoFromCaumont, I got a similiar issue when I paste a text using "Ctrl + V". This happens when you combine these two plugins: plugins: ["grapesjs-mjml", "gjs-plugin-ckeditor"]. The text got blank then when you click outside of the component it triggers the error:

error

@artf, do you have any idea about it?

LoFromCaumont commented 5 years ago

Hey, happy to not be alone ! But no, i didn't worked on this project since 6 months. I suppose you tried with the lastest versions of Jquery, CK, Grapes... ?

jmchaves commented 5 years ago

I was running ckeditor 4.7, I switched it to 4.6.2 (Standard) and this fixed the issue.

LoFromCaumont commented 5 years ago

Yeah ! I'll try this change ...one day ;-( Results in next post... Thanks you

DRoet commented 4 years ago

can anyone confirm this is still an issue?