Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-21362

Allow 'Edit Macro' configuration box to be opened by default when a macro that needs configuration is inserted through Quick Actions

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 15.5-rc-1
    • CKEditor, Display
    • Windows 11 Pro, Chrome 117, using a local instance of XWiki 15.5.2 on PostgreSQL 15, Tomcat 9.0.80
    • Unknown

    Description

      Steps to reproduce

      1. Edit a page with CKEditor
      2. Type / to open Quick Actions
      3. Search for 'Display' macro
      4. Click on it to insert it

      Expected results

      The macro is inserted and the 'Edit Macro' configuration box is opened, in order to let the user fill the Page parameter.

      Actual results

      The Display Macro is inserted with an error which can confuse the user:

      Failed to execute the [display] macro. Cause: [You must specify a 'reference' parameter pointing to the entity to display.]. Click on this message for details.

      The user must double click on the macro to reach the 'Edit Macro' configuration box in order to insert a Page reference, then to click 'Submit'.

      Attachments

        Issue Links

          Activity

            People

              Lucas C Charpentier Lucas
              iandriuta Ilie Andriuta
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: