Uploaded image for project: 'XWiki Rendering'
  1. XWiki Rendering
  2. XRENDERING-670

Image captions cannot be used in combination with links on images

    XMLWordPrintable

Details

    • Unit, Integration
    • Unknown
    • N/A

    Description

      As reported on the forum, CKEditor allows creating links around the image in a captioned image. This results in a HTML structure roughly resembling the following:

      <figure class="image">
      <a href="#"><img src="img.jpg" /></a>
      <figcaption>Caption</figcaption>
      </figure>
      

      This code currently cannot be represented in XWiki syntax which should be considered a bug as when we enabled image captions in CKEditor, we assumed that the resulting HTML could be represented in XWiki syntax.

      Attachments

        Issue Links

          Activity

            People

              MichaelHamann Michael Hamann
              MichaelHamann Michael Hamann
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: