title: Preventing default behaviour of 'return' key in HTML5 contenteditable fields
body: <p>I'm making a basic task list using localStorage &amp; Contenteditable and when I hit enter (in chrome) the browser adds a new line. I want to prevent this default behaviour and submit the task. The jQuery blur removes the focus but only after adding a new line still.
  I tried using,</p>
  
  <pre><code>return false
  e.preventDefault();
  e.stopPropagagtion();
  </code></pre>
  
  <p>But none of them worked, is there anyway to prevent this?</p>
  
  <pre><code>$('.taskContent').keyup(function(e) {
          if(e.keyCode == 13) {
              $('.task').removeClass('editing');
              $('.task').children('a').fadeTo('medium', 0.5, function() {
                  localStorage.setItem('tasksData', tasks.innerHTML);
              });
              $('.taskContent').blur();
          }
      });
  </code></pre>