Viewing 9 replies - 1 through 9 (of 9 total)
  • lucile

    (@lucile)

    Hello,

    I have the same problem as described by kitcorsa: adding an image with media button works only if I don’t add any caption to this image. If I try to add an image with a caption, it’s not inserted in the post.
    Config: CKEditor 4.0 + WP 3.4.1

    When downgrading to CKEditor 3.6.3, the problem doesn’t occur, all the images, with or without caption, are inserted correctly.

    Thanks for your help!

    I have the same issue (guess everyone has it), it is actually the same problem as described here http://wordpress.org/support/topic/ckeditor-wpgallery-image-captions-cause-js-error-blank-editor

    What I don’t really understand is how we end up in the afterInit function though…

    Chiming in to add that I’m having this problem too. Theme is Weaver II, both CKEditor and WordPress are current versions. I would roll back to a previous version of CKEditor, but I don’t think it would be compatible with WP 3.5.1.

    I’ve looked into this a bunch and from what I’ve seen, the reason is because CKeditor seems to expect the following nesting of elements:

    [a href…][caption][img/][/caption] text goes here[/a]

    HOWEVER, WordPress’ default editor (as well as the Insert Media button) formats them as follows:

    [caption][a href…][img/][/a] text goes here[/caption]

    I’ve looked a bit at the JavaScript for CKeditor, but it really gets past my level of expertise … I haven’t seen anyone else (that I know of) reporting the issue with the details I mentioned above, so hopefully this will help the developer or someone figure out the problem!! It’s driving me batty!!!

    An alternative to fixing the blank editor window is to switch over to the HTML tab (which will be blank), then reload the page … at this point, put the [caption] inside the anchor element [a] and then click “Visual” … it *should* work (though sometimes I’ve had to add in paragraph tags manually)

    Hope this helps people!

    The bug described above is the same with CKEditor 4.0 and WordPress 3.5.2 (last version)

    @glandix: thanks for the info, but my users are not familiar with the HTML editor… 🙁

    I have the same problem even if I do not put the caption. It’s not inserting images at all. Firebug is clean, no JS errors.

    Is this problem solved? Because in my wp (3.6.1) I can’t upload media as well

    FYI this problem is still existing with WP 3.7.1 and CKEditor 4.0
    This is very annoying as there is no error message, nothing happens and that’s it. Are people always uploading pictures without caption?

    @lucile: If you require assistance then, as per the Forum Welcome, please post your own topic.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘images with captions not displaying’ is closed to new replies.