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

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

            [CONFSERVER-7409] Allow plugins to include Javascript and CSS resources in the HTML header

            Sen made changes -
            Workflow Original: JAC Suggestion Workflow 4 [ 3575378 ] New: JAC Suggestion Workflow 3 [ 4336309 ]
            Katherine Yabut made changes -
            Workflow Original: JAC Suggestion Workflow 2 [ 3172924 ] New: JAC Suggestion Workflow 4 [ 3575378 ]
            Status Original: RESOLVED [ 5 ] New: Closed [ 6 ]
            Katherine Yabut made changes -
            Workflow Original: JAC Suggestion Workflow [ 3033371 ] New: JAC Suggestion Workflow 2 [ 3172924 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing v4 [ 2528668 ] New: JAC Suggestion Workflow [ 3033371 ]
            Rachel Lin (Inactive) made changes -
            Workflow Original: Confluence Workflow - Public Facing v3 [ 2280777 ] New: Confluence Workflow - Public Facing v4 [ 2528668 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing v3 - TEMP [ 2176345 ] New: Confluence Workflow - Public Facing v3 [ 2280777 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing v3 [ 1940910 ] New: Confluence Workflow - Public Facing v3 - TEMP [ 2176345 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing v2 [ 1760391 ] New: Confluence Workflow - Public Facing v3 [ 1940910 ]
            Katherine Yabut made changes -
            Workflow Original: CONF Suggestion WF (TEMP) [ 1698817 ] New: Confluence Workflow - Public Facing v2 [ 1760391 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing [ 1370126 ] New: CONF Suggestion WF (TEMP) [ 1698817 ]

              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: