Smart link is displayed as a plain URL and attachment not as inline in the Custom UI Forge macro in published mode

XMLWordPrintable

    • 2

      Issue Summary

      Smart link is displayed as a plain URL and attachment set as inline displayed as large Card in the Custom UI Forge macro in published mode. Whereas in edit mode, attachment is displayed as inline and smart link is displayed as embed or card or Inline.

      .

      Steps to Reproduce

      • Create a custom UI macro with body.
        • The app currently uses this endpoint:GET /wiki/rest/api/content/{contentId}/history/{pageVersion}/macro/id/{macroId}/convert/styled_view
        • It converts the saved body macro content into HTML for rendering in published mode.
      • Add the custom UI macro to the page.
      • Within the macro body, add a URL and change the display mode to embed or card or Inline.
      • Add a attachment and set it to inline.
      • Publish the page.

      Expected Results

      The URL to be displayed as smart link embed and attachment to be inline.

      Actual Results

      The URL is displayed as plain URL and attachment is displayed as large Card .

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

              Assignee:
              Unassigned
              Reporter:
              Ramchandra Kudtarkar
              Votes:
              3 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: