some explanation about caret behaviour in contenteditable elements.
no-line-breaks attribute to prevent line breaks