Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-41666

User macro display BLOCK/INLINE by default

    XMLWordPrintable

Details

    Description

      Currently, when inserting a user macro, it is possible for the user to select BLOCK or INLINE.

      The need is to be able to define in the user macro a default behavior, for example, always display as BLOCK.
      There is a Confluence question about it too:
      https://answers.atlassian.com/questions/62467/can-i-set-a-default-value-for-a-user-macro-to-be-inline-or-block-in-the-template

      We tried adding this parameter in the user macro:

        1. @param atlassian-macro-output-type:type=enum|enumValues=BLOCK,INLINE|default=BLOCK

      But when using the macro, the default value is still INLINE.

      Also, we noticed that when we set the parameter to BLOCK from the "Edit Macro" window, the display still remains INLINE.

      The only way to have Confluence apply the BLOCK display is to click the icon (on the first screenshot).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              a4c00b17b22b Catherine Z
              Votes:
              3 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: