I use Chrome on macOS and Shift-Enter works. I also don’t have the problem that you’re describing that the cursor jumps to the last character. Are you using a Chrome extension that might be causing that?
Entering a long string until it’s shown on the next line won’t work, it needs to be a hard enter/return.