Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
1.16
-
None
-
N/A
-
N/A
-
Description
This a regression of XWIKI-4612. In a wiki macro, the definition order of the macro parameter should be respected when displaying the macro editor box n the WYSIWYG editor.
This even more important now that the macro box is split in two parts by the "more..." collapsible part, in order to put the most significant parameters first. Relying on the fact that some parameters are mandatory is not efficient enough, since not all macro has mandatory parameters.
The new behaviour of displaying all parameters having a value without requesting to open the more... button is great, but when the macro parameter gets all displayed, the order should be again respected, else users might have the perception that macro parameters have an indeterminate order.
Making java macro also following the ordering introduced by wiki macros, allowing the author to define the parameter order based on parameter importance would also be nice to have, I opened XRENDERING-484 for that improvement.
Attachments
Issue Links
- is related to
-
XCOMMONS-1258 Allow parameters of rendering macro developed in Java to be ordered
- Open
- relates to
-
XWIKI-4612 Wiki Macro parameter display in wysiwyg do not respect the order of parameters
- Closed