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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

614 views 21 11
Join discussion

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