Improve Confluence user macro language to not override external link CSS classes.

XMLWordPrintable

    • 1

      While creating a user macro, Confluence will overwrite the external links that are defined in the macro, such as those shown in the following example:

      @param Text:title=Button Text|type=string|required=true
      @param Link:title=External Link|type=string|desc=*Page field will override this field **Only use if page is not within Confluence
      @param Color:title=Button Color|type=enum|enumValues=c-button,c-button c-button--secondary,c-button c-button--neutral,c-button c-button--neutral c-button--secondary|default=c-button--secondary|desc=Ordered: Red, Secondary Red, Blue, Secondary Blue|required=true
      @param Size:title=Size|type=string|type=enum|enumValues=,c-button--small,c-button--large,c-button--jumbo|default=|desc=Leave blank for default
      <a href="$paramLink" class="$paramColor $paramSize">$paramText</a>
      

      From the macro above the following will be ignored and overwritten by Confluence:

      The goal of this suggestion is that these external links should not be overeaten so the macro creator can have more flexibility while creating or customizing the macros.

        1. overwritten.png
          227 kB
          Gustavo P

            Assignee:
            Unassigned
            Reporter:
            Gustavo P
            Votes:
            5 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: