If you have an macro with the output type set to OutputType.INLINE and you specify a body type (BodyType.RICH_TEXT or BodyType.PLAIN_TEXT) then the editor will set your macro to render in BLOCK mode.

      • An inline macro is rendered in block mode in the editor to allow for a place to edit the body. If it was rendered inline, there would be no way to set the body.
      • The macro was defaulted to block so the editing experience was more "WYSIWIG". It was thought at the time that the inline macro that looked like a block macro was more confusing for a user.


      Shows that the test inline macro has been defaulted to BLOCK. It was expected that this macro should default to INLINE.

      Further, if the inline macro has been manually set to INLINE the view format of this macro still appears to be block. Storage Format:

      <p>before</p><ac:structured-macro ac:name="test-inline-macro"><ac:parameter ac:name="atlassian-macro-output-type">INLINE</ac:parameter><ac:rich-text-body>
      <p>test</p></ac:rich-text-body></ac:structured-macro>
      <p>after</p>
      

      Note that the atlassian-macro-output-type has been set to INLINE (by selecting it from the popup menu). This is rendered on three separate lines because the because the surrounding <p> tags are broken around the body.

            [CONFSERVER-24581] Inline macros with body default to block mode

            James added a comment -

            Seems to still be a problem in 7.5.1

            James added a comment - Seems to still be a problem in 7.5.1
            Katherine Yabut made changes -
            Workflow Original: JAC Bug Workflow v3 [ 2891898 ] New: CONFSERVER Bug Workflow v4 [ 2983894 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2780026 ] New: JAC Bug Workflow v3 [ 2891898 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow [ 2734880 ] New: JAC Bug Workflow v2 [ 2780026 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2400323 ] New: JAC Bug Workflow [ 2734880 ]
            Alex Yakovlev (Inactive) made changes -
            Labels Original: affects-server bugfix editor loyalty plugin-development plugins New: affects-server editor loyalty plugin-development plugins
            Alex Yakovlev (Inactive) made changes -
            Labels Original: affects-server bugfix editor plugin-development plugins New: affects-server bugfix editor loyalty plugin-development plugins
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 2299726 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2400323 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2234091 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 2299726 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2196102 ] New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2234091 ]

              vvo Vu Truong Vo (Inactive)
              b69cd711ec60 David Peterson
              Affected customers:
              36 This affects my team
              Watchers:
              37 Start watching this issue

                Created:
                Updated:
                Resolved: