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

The figure and figure caption should not be part of the editable content

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 14.1-rc-1
    • 13.10
    • Macro - Figure
    • None
    • Unit
    • Unknown
    • N/A
    • N/A
    • Pull Request accepted

    Description

      Currently, the figure macro puts the FigureBlock inside its editable content and the figure caption puts the FigureCaptionBlock inside its editable content. This is currently not an issue because the XHTML 1.0 renderer that we use for editing doesn't produce any output for them but with CKEDITOR-207 and XRENDERING-627 where we will switch to HTML5 and actually parse these tags this will become an issue. The obvious fix of putting the figure outside the metadata block works but has the consequence that the metadata block of the caption is now inline content and no longer editable due to limitations of CKEditor, see CKEDITOR-199.

      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: