Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-33108

Export to HTML misses images and styles

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Low Low
    • None
    • 5.3
    • Page - Export / Import

      Some styles and pictures are missing when exporting to HTML. A good example is the page "Plugins for Knowledge Base" in the "Demonstration space". Exporting this page (via ImportExportManager.exportAs(...) or via space tools->export ->html) we notice the following:
      Macros styles are missing. E.g., the plugins squares are in a row but in the exported page are in a column.
      Warning or info macros are not colored. The icons are rendered as plain text "Icon".
      Some images are missing. E.g., Section "Manage approvals and workflows" includes a "include page" macro of the page "_Approvals+Workflow". This page in turn, includes a panel macro with an image. Well, this image is also missing.

      In addition, when performing the same export operation to the page "_Approvals+Workflow", the images are not shown. We have used the following to solve it:

      function fixConfluenceStyle(){
      var panels=document.querySelectorAll(".panel");
      var i=0;
      for(i=0;i<panels.length;i++)

      { panels[i].style.display="inline-block"; }

      }

        1. export 1.png
          export 1.png
          73 kB
        2. export 2.png
          export 2.png
          57 kB
        3. export 3.png
          export 3.png
          29 kB

            shaffenden Steve Haffenden (Inactive)
            puente.gorka Gorka Puente
            Votes:
            4 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: