-
Bug
-
Resolution: Unresolved
-
Low
-
2
-
Minor
-
Issue Summary
When editing a code block of JSON or any other code, the editor in Jira issue’s Comments or description or multi-line text field, provides automatic formatting which breaks the structure of the JSON or any other code block. To understand the issue please check the following video:
The issue is only replicable in Firefox v136.0.2 or v136.0.1 running on MacOS.
For example, in the editor, when typing :
`
{ \n Type here something then give another newline in the next line \n }The auto-formatting will remove the new line and take the closing curly brackets on the above line at the end of your text.
Steps to Reproduce
- Go to comments or description field.
- Insert a code block.
- Inside the code block type the below first:
{ }
- now in the space or the empty line that you have created in the above example, try to put a "" double quotes.
Expected Results
The code block should look like:
{ "text": "space"; }
Actual Results
Auto formatting kicks in Firefox browser and removes the new line and pushes the closing curly bracket to the above line, breaking the formatting:
{ "text": "space";}
Workaround
Use any browser other than Firefox on MacOS devices as a workaround to avoid this issue.
- relates to
-
CONFCLOUD-81261 Text Jumps to Cursor Position in Code Snippet Macro on Firefox
-
- Closed
-
- is resolved by
-
DTR-2885 Loading...