Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • A quick hack that fixes the problem for me and allows me to insert images with a link, in the file wp-content/plugins/ckeditor-for-wordpress/plugins/wpgallery/plugin.js, replace line 251

    data = data.replace( /\[caption(.*?)\]([^>]+?>)(.*?)\[\/caption\]/mig, function(match, captionAttr, imgTag, captionText)

    with

    data = data.replace( /\[caption(.*?)\](.*>)([^<]*?)\[\/caption\]/mig, function(match, captionAttr, imgTag, captionText)

    For me it works when you disable the link on the image in the media manager (Add Media -> Select Image -> Attachment Display Settings “Link To” “None” -> Insert Into Page).

    You’ll get an image with “<<caption>>” as caption, which you can remove by double-clicking the image and erasing the caption text (you can’t set any other caption though, it’ll always appear as “<<caption>>”).

    Edit: Seems to be that the “<<caption>>” is intentional, once you preview the page the caption shows up

Viewing 2 replies - 1 through 2 (of 2 total)