Uploaded image for project: 'Figure Macro'
  1. Figure Macro
  2. XFIGURE-3

Make the figure and figure caption identifiable in edit mode

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • XWiki Rendering 15.3
    • Macro
    • None
    • Unknown

    Description

      Currently, the figure and figure caption macros are rendered in a generic way in edit mode.
      They cannot be identified programmatically from the dom, except using cke specific selectors
      For instance, in CSS using div[data-cke-display-name="macro:figure"]

      Proposed solution: add a css class on the root element of the figure and figure caption macros to make them identifiable, even in edit mode.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mleduc Manuel Leduc
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: