Opened 10 years ago

Last modified 9 years ago

#11199 confirmed Bug

[Image2, ACF] Content of figcaption remain once the tag is stripped out in a widget

Reported by: Olek Nowodziński Owned by:
Priority: Normal Milestone:
Component: General Version: 4.3 Beta
Keywords: Cc:

Description (last modified by Olek Nowodziński)

Problem: If user explicitly disallows figcaption in ACF, figures are upcasted but the contents of (just stripped out) figcaption remain as a plain, non-editable paragraph within widget's body.

Expected: Once figcaption is disallowed, its contents should be removed from the widget. Such widget should be upcasted either to an inline widget or a block widget without caption (to be decided).

Change History (3)

comment:1 Changed 10 years ago by Olek Nowodziński

Description: modified (diff)

comment:2 Changed 10 years ago by Piotrek Koszuliński


comment:3 Changed 9 years ago by Jakub Ś

Status: newconfirmed

To reproduce:

  1. Use below configuration:
    CKEDITOR.replace( 'editor1', {
        disallowedContent : 'figcaption',
        extraPlugins : 'image2'
  2. Switch to source, paste below code and switch to wysiwyg:
    <figure class="image right"><img alt="Saturn V carrying Apollo 11" src="assets/sample.jpg" />

NOTE: disallowing figcaption disables ability to create image with signature from image2 dialog.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy