It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Can Add=>Attachment (but not Insert=>Attachment) be disabled?

We'd like to make sure that users edit the explanatory text on a page when they attach a new file. Is it possible to remove the Add=>Attachment option from the main menu, while still retaining the editor's Insert=>Attachment function?

1 answer

1 accepted

1 vote
Answer accepted

Javascript hack?

Browse to Confluence Admin > Look & Feel > Custom HTML

Add this to at the end of the HEAD:

<script>
  AJS.toInit(function(){
    AJS.$('#add-attachment-link').hide();
  });
</script>

Suggest an answer

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

Introducing Confluence Cloud and Jira Software Cloud Premium

Wherever you are in your team’s journey , our goal is to support your big ambitions. We’re a cloud-first company with the mission of unleashing the potential of every team, and to address the range ...

599 views 4 17
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you