After writing inline code, using backspace or otherwise moving the cursor seems to make it impossible to terminate the code section.
This behavior is consistent with other text styling, but while those styles can be terminated with their respective hotkeys/text style buttons, code blocks currently don't have that (or don't expose it to the user).
To reproduce:
- Write some text in a text block, then follow with an inline code section by surrounding some text with `backticks`
- Make sure the inline code is at the end of the text block
- Press Backspace or move your cursor
- Arrow keys, clicking with your mouse, or switching to a different block and back works
- The inline code section now cannot be terminated
Some more observations (though these are also consistent with other text styling):
- Making the whole text block inline code (i.e. no other text before or after) dooms the text block to be inline code forever*.
- Pasting formatted text (or text without any formatting) works as intended, which can terminate an otherwise sticky inline code section.
Thanks, yeah ideal would probably be to add a hotkey / button for this, just need to find space for it in the toolbar! I think easy workaround for now is just make new block below and backspace to get regular text after the inline code.