Html – Insert new line in contenteditable on Ctrl+Enter
I would like to insert a new line in a contenteditable when the user press Ctrl+Enter. Based on the following questions, I wrote the code below: Insert newline on enter key in contenteditable div How to insert a <CR> (Carriage…