CM5: inputStyle contenteditable, cursor display after goLineRight (wrapped line)

With inputStyle contenteditable, the cursor after the End command (goLineRight), display the cursor at the beginning of the next “line” of wrapped line (instead of the end of the current “line” of the wrapped line, like in inputStyle textarea).
Can it be changed to work similar as in textarea?

No, that’s the native cursor and we can’t really control where it is drawn on most browsers. (CodeMirror 6 works around this by drawing its own cursor while still using contentEditable.)