title: How to stop TinyMCE to delete the span tags?
body: <p>Here in my work, the previous programmer decided to use the wonderful TinyMCE on the company website.
  One of the thousands of problems I'm having is:</p>
  
  <p>If the original text have any <code>span</code> tag, when I press the <strong>backspace</strong> to delete a line (<code>p</code> tag only), all <code>span</code> tags are deleted from the text.</p>
  
  <p>This error is much more specific than the other. I can delete <strong>anything</strong>, character or tag (including the <code>p</code> tags), using the <b>delete button</b> and nothing happens.
  If I delete anything using the backspace button, nothing happens too.
  But if I delete any <code>p</code> tag <em>(even if it was created during the editing of the text)</em>, using the <b>backspace</b>, all <code>span</code> tags are deleted.</p>
  
  <p>I'm looking everywhere a way to solve this problem, because the client is not able to delete a row without losing all the markings of the text, which are made by CSS applied in <code>span</code> tags. E.g.,</p>
  
  <pre><code>&lt;p&gt;
     &lt;span id="org_2" class="apoloP" onClick="myFunction(this.id);"&gt;
          TEXT
     &lt;/span&gt;
  &lt;/p&gt;
  </code></pre>
  
  <p>Does anyone know how I can do to stop TinyMCE delete my text, beyond what is necessary?</p>
  
  <p>It is not only when the original text has a <code>span</code> tag.
  When the TinyMCE creates a <code>span</code> tag itself (if to underline the selected text, for example), if I delete a <code>p</code> tag, all <code>span</code> tags created also disappear.</p>