Inline Code Example Here

I just noticed a post that contained 'Inline Code Example Here'. This can be reproduced by not selecting any code, then pressing the |>_Inline Code| button. Is this by design or a bug?

Click Here
Inline Code Example Here

Quoted Text Here

Heading Here

It seems to be consistant behaviour for the editor so I'm going with by design.

Yeah, it would seem so. Thanks :)

When you click >_Inline Code it inserts that text and leaves it selected so that anything you type will replace it. If you already have text selected when you click it, that text gets changed to inline code. Same as clicking bold or italic.