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

Allow macros to opt-out from WYSIWYG quick actions

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • 15.5-rc-1
    • CKEditor
    • None
    • Unknown

    Description

      Today, some macros are listed in the quick actions of the WYSIWYG editor but cannot be used directly when editing a page. The goal of this issue is to provide a configuration for macros to declare themselves as "opt-out" of the Quick Actions system.

      I see two types of macros that would benefit from this feature :

      • Macros that should not be used within the WYSIWYG editor. For example, the macros wikimacroparameter and wikimacrocontent. These macros are actually to be used only within wiki macro code, they should not be exposed in the WYSIWYG.
      • Macros that depend on a given wiki state or configuration, and the state / configuration is not fulfilled yet. For example : the office viewer macro when no office server is installed, the JIRA macro when no JIRA configuration is present on the wiki.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              caubin Clément Aubin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: