title: Is there a way in JavaScript to change Shift + Enter to just Enter
body: <p>I'm looking for a way that in a contentEditable when doing 'shift + enter' do the same as when you press just the 'enter' key what it does is put the content inside a div instead of just adding a br.</p>
  
  <p>I try disabling the shift key, but no results :( hope you can help me</p>
  
  <pre><code>&lt;div class="editableDiv" contentEditable="true"&gt;&lt;b&gt;Hello&lt;/b&gt; world.&lt;/div&gt;
  
  div{
  color: green;
  }
  .editableDiv{
  color: salmon;
  }
  
  $('.editableDiv').on('keydown', function(event) {
  if (event.keyCode == 13 &amp;&amp; !event.shiftKey) {
      console.log('pure enter');
  } else if (event.keyCode == 13 &amp;&amp; event.altKey) {
      console.log('triggered enter');
      $(this).trigger(jQuery.Event("keydown", {
        keyCode: 13,
        altKey: false
      }));
  }
  });
  </code></pre>
  
  <p>Need trigger just press 'enter' key when press 'shift + enter'</p>