How to override content-editor.vm

Hi,

How can I override content-editor.vm, I would like to add some custom content. It seems like Action Conveyor cant help me or I dont know how to use it properly in such case.

1 answer

1 accepted

Because 'content-editor.vm' is an indirect import (that is, other .vm files import it), the only way to 'override' content-editor.vm is to modify the file on the server's file system. However, there are a couple of other possible options.

1. Use Conveyor to override the action(s) which import 'content-editor.vm', make your own clone of the .vm files and point them at your own custom version.

2. Use a JavaScript injection that hijacks the page after it's been loaded, possibly using a 'web-part'.

I haven't tried option 2 myself, but I believe it's possible. Could be the simplest route.

David

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Published 14 hours ago in Confluence

Think you know shares vs. @mentions in Confluence? Take this collab quiz.

To anyone who doubts that Atlassians are a little too obsessed with collaboration, and tools related thereto, let me describe a recent discussion we had (which took place on our internal Confluence, ...

99 views 2 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you