Fix BR mode when caret is inside an inline element
Use range to find right-hand side content