Steps to reproduce bug:
- Edit a page and add the following content: Hello "<code>world</code>".
- Place cursor before the first quote, then use the arrow keys to move right (after the quote, before W for world).
- Insert a character.
The place where the character appears, and the position of the blinking cursor should be the same. In actually, this is not the case.
The cursor is blinking inside the code annotation (close to the W, within the padded area of the code block).
The added character appeared outside the code annotation (close to the quote, outside the padded area of the code block).
Screenshot of problem (from May 2013):
Video capture (July 2018):