Details
-
Improvement
-
Resolution: Unresolved
-
Major
-
None
-
XWiki Rendering 15.3
-
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
- blocks
-
NCAPP-19 Numbering of figures in edit mode depends of CKeditor
- Open
- is related to
-
XRENDERING-629 The figure and figure caption should not be part of the editable content
- Closed
-
XRENDERING-631 The annotated HTML5 renderer should not render figcaption inside macros
- Closed