Contenido HTML Editable No Newline
document.getElementById('myEditableContent').addEventListener('keypress', (evt) => {
if (evt.which === 13) {
evt.preventDefault();
}
});
Friendly Hawk