在Ctrl+Enter方面添加新的内容。
原文:Insert new line in contenteditable on Ctrl+Enter
原文: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 ...