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

Allow plugins to include Javascript and CSS resources in the HTML header

XMLWordPrintable

    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      Plugins often want to include Javascript or CSS resources such as Prototype, which need to be included just once in a page. Putting them inline doesn't work for some resources, so we need a way of letting plugins specify what resources should be put in the HTML header.

      They should be able to declare a resource in their atlassian-plugin.xml, then use a simple Velocity macro to have it appear in the HTML header as a script or link tag.

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

              Created:
              Updated:
              Resolved: