A paragraph holding an image rendered a line taller than it does anywhere else: under white-space: pre-wrap the browser already shows the last line, so ProseMirror's hack BR adds an empty one. The hack is kept where it earns its keep — after a real break it carries the caret onto the empty line, and in an empty block it is the only line box there is.