Steps to regenerate
If the highlight color is applied to a sentence, pressing the Enter key does not move the cursor to the next line until the user starts typing.
Steps to reproduce:
Step 1: Type a sentence and apply highlight color to it.(Issue_2_Step_1)
Step 2: Press the enter key.(Issue_2_Step_2)
Pressing the Enter key moves the cursor by a single space.
Pressing the enter key must move the cursor to the next line.