Closed sgauruseu closed 5 years ago
Tested with @sgauruseu , doesn't seem to reproduce with fix for https://github.com/enonic/app-contentstudio/issues/623.
Agreed with @sgauruseu that he'll test after https://github.com/enonic/app-contentstudio/issues/623 is merged.
Issue is rarely reproduced and on a very specific case; Seems to occur somewhere deep in native CKE code; I'll postpone for now as there other bugs to fix and investigating this takes too mmuch time.
Probably this issue is linked with https://github.com/enonic/app-contentstudio/issues/669 And a Caption is cause of the both issues. Try to upload an image with caption to reproduce the #637
Issue moved to enonic/app-contentstudio #44 via ZenHub
Insert Image
buttonInsert Image
dialog appearsInsert
button then click onApply
The image is inserted in htmlarea.
Content tab
and select the just uploaded image.Bug: error occurs and the dialog does not close
_all.js:1 Uncaught TypeError: Cannot read property 'getSelection' of undefined at CKEDITOR.dom.selection.getNative (_all.js:1) at new CKEDITOR.dom.selection (_all.js:1) at a.CKEDITOR.editor.getSelection (_all.js:1) at a.elementPath (_all.js:1) at a.<anonymous> (_all.js:1) at a.p (_all.js:1) at a.<anonymous> (_all.js:1) at a.window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.editor.CKEDITOR.editor.fire (_all.js:1) at a.setActiveFilter (_all.js:1) at n (_all.js:1)