title: Compare tinyMCE content against original content
body: <p>How can I tell if tinyMCE content was changed?  I thought I would do the following, however, tinymce puts each <code>&lt;p&gt;</code> on a separate line.  I guess I can just check keypress as done by <a href="https://stackoverflow.com/questions/17802592/how-to-tinymce-change-detect">How to TinyMce change detect?</a>, but that doesn't really tell if anything was ultimately changed.</p>
  
  <pre><code>tinymce.init({selector: "#content"});
  if($.trim(tinymce.get('content').getContent()) != $.trim($('#content').val())){alert('changed');}
  </code></pre>