Support

Account

Home Forums Backend Issues (wp-admin) Image Captions in WYSIWYG Reply To: Image Captions in WYSIWYG

  • Hi Elliot

    I’m having this issue as well. In the default WP Editor you get the “wp-cation” class added when the content is outputted to the site. With an ACF WYSIWYG editor it outputs the following:

    <div>
    <dl id="attachment_166">
    <dt><img title="Steve van Doren / BBC News" alt="" src="http://URL.com/new/wp-content/uploads/2012/11/NG_VFC_DTSD-110820-8864-600x400.jpg" width="600" height="400"></dt>
    <dd>Steve van Doren / BBC News</dd>
    </dl>
    </div>

    I think it should output:

    <div id="attachment_166" class="wp-caption aligncenter"><img class="size-medium wp-image-166 " title="Steve van Doren / BBC News" alt="" src="http://URL.com/wp-content/uploads/2012/11/NG_VFC_DTSD-110820-8864-600x400.jpg" width="600" height="400"><p class="wp-caption-text">Steve van Doren / BBC News</p></div>

    Any thoughts?