Inserting images to a WYGWAM field within Matrix.
Cannot seem to insert images from the Image dialog in WYGWAM, when the WYGWAM field is a part of Matrix field. I am able to open the dialog, upload images, browse server, all that good stuff. As soon as I click OK to add the image, it just sits there. Seems to attempt to target the WYGWAM input in the standard Safari way (blue outline) but does not insert image. Any ideas?
-
Hi Michael,
I've noticed that sometimes there’s a disconnect between the main editor window and its dialogs, or its dialogs and the CKFinder popup window. I haven't been able to figure out exactly why it happens; it seems more or less random, and has nothing to do with Matrix.
To be sure, I just tested adding an image via CKFinder into a Wygwam field in a Matrix field, and it did work fine. If you reload the page and give it another shot I suspect it’ll work for you as well. -
-
Hey Brandon,
I restarted the browser, gave it a try in FF/Chrome/Safari and still having the same issue. I checked out the JS console and this is what I am getting:
Uncaught TypeError: Cannot read property 'startContainer' of undefined
on line 119 of ckeditor.js -
-
Are you clicking into the editor area before clicking the image button? This thread on the CKSource forums seems to indicate that the error will happen if you go straight to adding an image before the editor has focus.
-
-
Hey Brandon,
That was totally it. Sorry to have bothered you with a CKEditor issue.
Cheers and thanks for the great work as usual. -
Loading Profile...


Twitter,
Facebook, or email.
EMPLOYEE

