HTML Content Edable No Newline

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