WordPress.org

Ready to get started?Download WordPress

Forums

CKEditor For WordPress
ckeditor wpgallery image captions cause JS error (blank editor) (2 posts)

  1. michael@ratcliffefamily.org
    Member
    Posted 1 year ago #

    If you have the ckeditor wpgallery plugin enabled you can add captions to images. By default these captions are also links in the following format:
    <a title="" href="http://www.flailingmonkey.com/2013/01/21/install-django-justhost-2/frustrated_developer/" rel="attachment wp-att-585">blah</a>

    This link is picked up and processed by http://www.flailingmonkey.com/wp-content/plugins/ckeditor-for-wordpress/plugins/wpgallery/plugin.js?t=CBDD line 254, which results in matches being null. The pattern wp-image-([0-9]+ expects wp-image-585 and does not match wp-att-585, which results in match[1] throwing an exception causing this issue.

    http://wordpress.org/extend/plugins/ckeditor-for-wordpress/

  2. Alex (Shurf) Frenkel
    Member
    Posted 1 year ago #

    Hi Michael.

    I have this problem too, an found a HACK.

    You need to set the Image link to point to NONE when adding to the editor.
    And then you can Edit the image and add the link back.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.