Forums

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

Confluence editor: how to switch to normal formatting at cursor position?

Snake Scaly
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 7, 2018

Imagine, due to some editing, my line ends in monospace font. Now I want to continue in normal font. How do I do that?

Things that don't work:

  1. There is no shortcut for clearing the formatting.
  2. Clicking "Clear formatting" in the toolbar removes focus from the editor, so I must click there again with my mouse, and I'm back to square one: when I type it's in monospace.
  3. I'm not aware of any macros that switch to normal format.
  4. Trying to wrap the block in double curly braces again does not work as the closing braces are considered part of the code block and are not interpreted as closing the macro.

I know about two workarounds:

  1. Select the monospace span or part of it, click "Clear formatting" in the toolbar (this converts the whole span back to normal), type a few characters after it, then convert the span back to monospace. Then continue typing after your normal characters.
  2. Open the "source editor", add a few words after the <code> block, apply, then keep typing after your normal characters.

Both are tedious and ugly. Sure there must be a better way?

1 answer

0 votes
Damien Tan
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 14, 2018

Hey @Snake Scaly

if you are typing most of your sentence in normal format and only wants few specific words in monospace, perhaps you can use double curly braces to convert just the few words into monospace. This way you'll always be typing in normal format and you can choose when to start and end the monospace formatting while you type.

For example, if you type this in Confluence Editor:

a quick brown {{fox jumps over}} the lazy dog

you will get this:

monospace.JPG

 

In the case if you are typing the entire sentence as monospace, you can use the keyboard shortcut CTRL+7 to change the whole line into monospace, and CTRL+0 to change it back to the normal format.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events