Customization to hide highlight pop-ups (inline comment and Jira macro) on Confluence DC

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform Notice: Data Center - This article applies to Atlassian products on the Data Center platform.

Note that this knowledge base article was created for the Data Center version of the product. Data Center knowledge base articles for non-Data Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

 

This is a customization is for informational purposes and is not eligible for support from Atlassian.  If you have any questions about the information on this page, please reach out to our Atlassian Community for help. 

Purpose

Hide the pop-up with options to add a new "inline comment" or create a new "Jira issue" when selecting a text on a page.

Solution

Based on the How to hide elements in Confluence using CSS or JavaScript we can use the following CSS code on Global or Space level to hide the pop-up that appears when selecting a text in Confluence.


Hide the pop-up on space level:
  • Navigate to the space you want.
  • Open the Space Tools
  • Select Look and Feel
  • Select Stylesheet.
  • Add the custom code.
#action-dialog-target {
display:none !important;  
}    
Hide the pop-up on Global level:
  • Go to Administration  General Configuration >
  • Select Stylesheet.
  • Click on edit
  • Add the custom code.
#action-dialog-target {
display:none !important;  
}    
Related topics

CONFSERVER-94786 - Ability to disable highlight pop-ups(inline comment and Jira macro) for Confluence


Last modified on Feb 19, 2025

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.