title: Force tinymce editor on a structure that I provide?
body: <p>I'm using the <a href="http://www.tinymce.com" rel="nofollow">tinymce</a> WYSIWYG Editor in my site to get user input. I want to define a Structure to be compared to user input, such as:</p>
  
  <pre><code>&lt;div&gt;
  &lt;h1&gt;&lt;/h1&gt;
  &lt;h2&gt;&lt;/h2&gt;
  &lt;article&gt;
  &lt;div&gt;
  &lt;/div&gt;
  &lt;/article&gt;
  &lt;h3&gt;&lt;/h3&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I need <code>tinymce</code> to prevent the user from typing any content that does not follow my structure. I don't know how to accomplish that, but I think there must be a way; can you explain how?</p>