Bugfix: Only prevent enter key on input elements.
- Content editable divs and textareas need the enter key and do not submit the form.