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

PDF export in legacy editor is not following renderModes directive for dynamicContentMacro

XMLWordPrintable

      Issue Summary

      PDF export in legacy editor is not following renderModes directive for dynamicContentMacro.

      Steps to Reproduce

       1. Install a connect app with dynamicContentMacro and renderModes defined for pdf, for example 

      {
        "url": "/pages/cc/macro",
        "name": {
          "value": "Macro Editor"
        },
        "key": "nf-connect-macro-editor",
        "renderModes": {
          "default": {
            "url": "/pages/cc/macro"
          },
          "pdf": {
            "url": "/index.html"
          }
        },
      } 

       2. Insert the macro in a Legacy Editor page.
       3. Export the page to PDF.

      Expected Results

      The pdf page should show the content from pdf url in renderModes.

      Actual Results

      The pdf page polls the main url instead. And, in some cases this cause the macro to not be displayed at all.

      Workaround

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

              Unassigned Unassigned
              045e5bbc18d4 Richard Santos
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: