That is nice (is it documented somewhere?) but I don't think it's easy to reuse in existing JavaScript code that doesn't rely on Vue, and which is not trivial to move to Vue/node.
I'm sure we can reduce a lot code duplication by introducing a reusable module.
Definitely. For old code I find the RequireJS loader plugin easy to use, and it behaves similar to the localization module. But the RequireJS loader plugin could be just a wrapper around another standard JS module. On my side I needed a quick solution for the CKEditor link target picker which was hard-coding glyphicons.
This message was sent by Atlassian Jira (v9.3.0#930000-sha1:287aeb6)
If image attachments aren't displayed, see this article.