Script Runner to Hide the Markup Option in Insert Menu in Confluence

Karen_Mustain June 1, 2018

I would like to know if it is possible to use ScriptRunner to hide the 'Markup' menu item in the Insert menu in the Rich Text Editor of Confluence. (see screenshot).

Since some plugin vendors are not supporting wiki markup language/syntax we do not want our users to have this option any longer.  I would like to use ScriptRunner to hide this menu item.  

I tried using the built in Hide UI Element scripts, but I can't find an option for the dropdown menu items.

Any help would be appreciated.

Thanks Karen

InsertMarkupmenuitem.PNG

 

 

 

 

 

 

2 answers

1 accepted

1 vote
Answer accepted
Davin Studer
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 1, 2018

You could hide it pretty easily by adding this to your global stylesheet.

.dropdown-item.content-wikimarkup {display: none !important;}
0 votes
Karen_Mustain June 3, 2018

Hi Davin,

Yes, I knew I could hide it via the global stylesheet.  I was just wondering if it is possible to do if via scriptrunner.

Thanks for the information.

Karen

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events