Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Including javascript in editor-content context

Boris
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 6, 2017

I added a web resource that contains a JS file. Target context is editor-content, which judging by the docs should include it in the editor iframe.

But nothing happens. JS is completely ignored.

<web-resource name="editor frame" key="editor-frame">
<context>editor-content</context>
<resource type="download" name="some.js" location="js/some.js" >
</resource>
</web-resource>

Any clues?

1 answer

0 votes
Brant Schroeder
Community Champion
September 19, 2024

@Boris Jockov _draw_io_ Welcome to the Atlassian community

Are you on cloud or data center?

Suggest an answer

Log in or Sign up to answer
TAGS
Atlassian, Team '25 Europe, Atlassian conference, AI-powered teamwork, Atlassian events, keynote speakers, Barcelona tech conference, Atlassian Williams Racing, Carlos Sainz, Jenson Button, Mike Cannon-Brookes, Anu Bharadwaj, Atlassian Rovo

Atlassian Williams Racing is coming to Team '25 Europe 🏎️

Discover the teamwork and precision behind success on and off the track. See how this high-performing team makes the impossible possible. Be one of the first 100 customers to register for a chance to win 2 tickets to an Atlassian Williams 2026 race.

Register now
AUG Leaders

Atlassian Community Events