How to override content-editor.vm


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

2 votes
Accepted answer

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.


Suggest an answer

Log in or Sign up to answer
Community showcase
Published yesterday in Confluence Cloud

Happy holidays from our team to yours!

Hi Community!  2018 was filled with changes for our team, both big and small, and we've taken a lot of time to both celebrate our wins and recognize areas of improvement. One thing that we're a...

100 views 1 14
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