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

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

Note that this KB was created for the Data Center version of the product. Data Center KBs 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

Summary

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. 

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.

1 2 3 #action-dialog-target { display:none !important; }

Hide the pop-up on Global level:

  • Go to Administration

    (Auto-migrated image: description temporarily unavailable)

    General Configuration >

  • Select Stylesheet.

  • Click on edit

  • Add the custom code.

1 2 3 #action-dialog-target { display:none !important; }

Related topics

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

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.