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


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

1,188 views 2 13
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