Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-31820

Enable Confluence body macros to accept the INLINE atlassian-macro-output-type.

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • None
    • 1
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      NOTE: This suggestion is for Confluence Cloud. Using Confluence Server? See the corresponding suggestion.

      There was a change of behaviour from Confluence 4.3.7 to 5.3.4, in Confluence 4.3.7 our body macros used to accept the INLINE output type, however due to the CSS changes that option is no longer available.

      Find below the instructions on how reproduce this behaviour in our latest version, if you follow these same steps in 4.3.7 you will notice that the macro will be INLINE with the text.
      In my example I used a third party macro, however that behaviour will be the same with any of our bundled body macro.

      Steps to reproduce:

      1. Start a Confluence 5.3.4.
      2. Go to UPM and install "Confluence Source Editor".
      3. Download Reporting Plugin, can be either from marketplace or UPM.
        You will also need to get a free license for reporting plugin.
      4. Create a page.
      5. Use source editor and add below code:
        <ac:macro ac:name="report-link">
        <ac:parameter ac:name="atlassian-macro-output-type">INLINE</ac:parameter>
        <ac:default-parameter>content:url</ac:default-parameter>
        <ac:rich-text-body>
        <ac:emoticon ac:name="green-star"/>
        </ac:rich-text-body>
        </ac:macro> and some text here
        
      6. Once you hit save Confluence will change above code as following:
        <ac:structured-macro ac:name="report-link">
        <ac:parameter ac:name="atlassian-macro-output-type">INLINE</ac:parameter>
        <ac:parameter ac:name="">content:url</ac:parameter>
        <ac:rich-text-body>
        <ac:emoticon ac:name="green-star"/>
        </ac:rich-text-body>
        </ac:structured-macro>
        <p>and some text here</p>
        
      7. In below image you can see that "Some text" will be under the icon instead at the side:

      If you try to use the same code of step 5 in the source editor of Confluence 4.3.7, the code will not be changed and the image will be displayed as this:

      Workaround:

      If you edit the page using the UI you can put the "Some text" inside the Report Link block, however that text will be turned into a link:

      1. Editing the page:
      2. After saving:

      ps.: I've moved this case from a bug ticket to a feature request on a customers behalf.

      Attachments

        1. img1.PNG
          img1.PNG
          7 kB
        2. img2.PNG
          img2.PNG
          5 kB
        3. img4.PNG
          img4.PNG
          17 kB
        4. img5.PNG
          img5.PNG
          11 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dluvison Deividi Luvison (Inactive)
              Votes:
              9 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated: