Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

"Clear formatting" option no longer working for code boxes

Eric Katowitz February 17, 2024

I have an issue where sometimes Jira puts content I paste in into a code box despite it not being code.   The workaround I have been using (as suggested on this very board) was to highlight the content and use the "Clear formatting" option in the editor which worked perfectly.

However,  a few weeks ago that option stopped working for code boxes.   I can highlight the text and press "Ctrl + /" (Windows) but it does nothing.   If I try to access it via the editor's toolbar the "Clear formatting" option is grayed out suddenly.

Anybody know why this was changed and if there is anyway to tell Jira that the content is in fact not code after I paste it in?  

Thanks in advance for any help you can provide.

2 answers

0 votes
David Shaykewich April 4, 2025

Did you get a resolution to this, @Eric Katowitz ?

I'd love to be able to clean up the formatting in the description of some of our tickets - particularly text that was inserted as 'code' blocks (due to the HTML email formatting they arrived with) that aren't code blocks.

I can't seem to find how to clear formatting on them and don't even see the raw text (i.e., HTML/markdown) editing option in the WYSIWYG editor, where I could just remove the tags.

0 votes
Humashankar VJ
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.
February 17, 2024


Hi - I hope that you are Doing good !!

Looks this is because of default formatting rules, causing certain types of content to be automatically recognized as code
That is the reason Clear formatting option is grayed out for content within code boxes

Thank you very much and have a fantastic day!
Warm regards

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events