This issue has been created
 
 
XWiki Rendering / cid:jira-generated-image-avatar-60ace5f4-8657-4870-a0f9-49f37109961f XRENDERING-830 Open

Declare the content of the footnote macro as rich text

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-858b2c40-70d4-4a54-a139-2905e3b6e1fe Charpentier Lucas created this issue on 23/Oct/26 14:37
 
Summary: Declare the content of the footnote macro as rich text
Issue Type: cid:jira-generated-image-avatar-60ace5f4-8657-4870-a0f9-49f37109961f Improvement
Affects Versions: 17.10.14, 18.8.0
Assignee: Unassigned
Components: Macro - Footnotes
Created: 23/Oct/26 14:37
Priority: cid:jira-generated-image-static-major-16ae391c-2768-4d5d-bba5-ac2d831c08af Major
Reporter: Charpentier Lucas
Description:

The content of the footnote macro is wiki syntax, rendered with its formatting, but the macro declares it as a plain string. The WYSIWYG editor therefore never edits it in place: changing a footnote needs opening the Edit Macro dialog, where it is a plain text area of wiki syntax.

The fix is done in FootnoteMacro.java:

  • Declare the content as rich text, a list of blocks, so that the editor can edit it in place with the formatting toolbar.
  • The footnote macro is inline, and the content of an inline macro cannot be edited in place yet, see XWIKI-19954.

Depends on

  • XWIKI-19954, which adds the in-place editing of the content of inline macros.

KOs covered

Macro Criterion Problem Depends on
footnote E6 inplace The content is wiki syntax rendered with its formatting, but declared as a plain string, so it is never edited in place: changing a footnote needs the Edit Macro dialog, where it is a plain text area of wiki syntax. XWIKI-19954

Impact found on macro fluidity

This KO comes from the WYSIWYG usability audit of the macros, under the criterion E6 inplace of its usability criteria, which asks that the content is edited in place, with an editing experience suited to its data, not in a text area of the Edit Macro dialog. The page of the macro, linked in the table, has the full notes and the steps to reproduce. It is also needed by XWIKI-25563, so that the Quick Action can insert the macro without the Edit Macro dialog.