I am trying to insert a newline character instead of whatever the browser wants to insert when I press enter in a contenteditable div.
My current code looks somethin
something like this?
if(e.which==13){ e.preventDefault(); $('#divID').html($('#divID').text()+""); }