Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-21348

Make it possible to set an empty figure caption in inline mode

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • 15.7
    • CKEditor
    • None
    • Unknown

    Description

      Steps to reproduce

      • In inline mode, insert image with the caption option activated
      • Edit caption, remove all text and spaces from there
      • Switch to source mode

      Actual result

      The image caption contains one space character (see example below) while an empty caption would fulfill more closely the actual intent. This space character is rendered as an empty paragraph, which means this behaviour prevents from having an empty figcaption block, hence the figcaption block has always a height, which caption custom styling more trickier.

      [[ >>image:xwiki.png]] 

      Attachments

        Activity

          People

            Unassigned Unassigned
            slauriere slauriere
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: