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

Show whether a macro supports inline mode in the Quick Actions macro list

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • 18.8.0
    • CKEditor
    • None
    • Unknown

    Description

      Problem

      When a user types / and picks a macro from the Quick Actions list, nothing tells them whether the macro can be used inside a sentence or only as a separate block. The editor uses the macro descriptor's supportsInlineMode to decide how to insert it, so the macro either lands in the line or splits the paragraph, and the user only finds out after inserting it. Today this information is only available in the macro documentation and in the macro descriptor.

      Proposal

      Show in the Quick Actions entry of each macro whether it supports inline mode, for example with a short label or an icon next to its name.

      Related

      Attachments

        Activity

          People

            Unassigned Unassigned
            Lucas C Charpentier Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: