title: How to limit number of lines in contenteditable div
body: <p>I have a <code>contenteditable</code> div and would like to limit to a maximum number of lines, using jQuery or JS.</p>
  <p><strong>Edit 2:</strong>
  As it creates divs for new lines, how can I make it continue from the last line (limit - max line) when a text is pasted?</p>