Uploaded image for project: '{RETIRED} CKEditor Integration'
  1. {RETIRED} CKEditor Integration
  2. CKEDITOR-181

For wiki macro, CKEditor does not display the parameter in the order they are defined

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 1.18
    • 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

          Activity

            People

              mflorea Marius Dumitru Florea
              softec Denis Gervalle
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: