After the user picks a font color or background color from the Editor toolbar (foreColor / backColor), the editor keeps a stale saved range in editor._range. Later commands, including Enter (the insertParagraph tool, key: 13), call editor.exec, which selects that._range || that.getRange(), so they run at the stale position instead of the live caret.
The result will add an empty paragraph above the text instead of inbetween the text. In this example:
<p> </p> <p><span style="color:#ff00ff;">xdd</span></p>
The enter separates the text and the styling is applied as expected. For example(Progress Kendo UI Dojo)
<p><span style="color:#ff00ff;">dd</span></p> <p><span style="color:#ff00ff;">x</span></p>