To reproduce:
- Select Computer code from the text style menu.
- Write something
- Press enter.
Actual result:
A new line is started outside the code block.
Expected result:
A new line is started within the same code block. Pressing enter a second time, without writing anything, should probably close the code block.
More information:
This also happens when text containing newlines is pasted.