How do I prevent the "WYSIWYG Editor" from formatting pasted text?

Bawdy Ink Slinger December 28, 2023

This is a question I made as a reply in another thread, but it's important enough to me to warrant its own thread:

In the new editor, if I paste some text that contains markdown, it is automatically formatted. But I'm not always pasting markdown into the editor: sometimes I'm pasting code or plaintext that contains markdown by pure coincidence. For example, I tried to paste this Regular Expression into a comment:

    test(\(.*, async )\(.*\n.*setNativeDialog.*\n.*\n.*\}\).*

The new editor modified this string, removing pairs of asterisks and italicizing the substrings within. This changes the meaning of my code.

The old editor pastes my code as shown above; the code retains its original and correct meaning. How do you do this in the new editor?

1 answer

1 vote
Gaurav Kataria
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 29, 2023

If you type /code in the new editor, it will give you a text box where syntax is preserved 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events