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

Resources requested by macros should be rendered in exports and notifications and other situations

    XMLWordPrintable

Details

    • 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.

      CONF-7409 was implemented for Confluence 2.8, allowing macros to use #requireResource (or WebResourceManager.requireResource()) to declare which CSS and JS resources they required when the page was built.

      This functionality doesn't currently extend to including these resources in the following situations:

      preview in the editor: need to get the resources via AJAX from the server and include them in the page dynamically (see CONF-11982)

      • exports and notifications: use a hard-coded list of resources generated by /styles/combined.css?forWysiwyg=true
      • rich-text editor (potentially): uses same hard-coded list as exports and notifications.

      (The rich-text editor is less important because only Confluence macros typically render content that needs to be styled there. Most just appear as {macro}...{macro}.)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              matt@atlassian.com Matt Ryall
              Votes:
              4 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: