Change outerHTML in javascript
<p><code>$(editor[i])[0].outerHTML</code> has a value of:</p>

<pre><code> &lt;p style="color: red;" data-mce-style="color: red;"&gt;some string&lt;/p&gt;
</code></pre>

<p>I want <code>data-mce-style="color: red;"</code> to disappear.<br>
I'm doing that like this:</p>

<pre><code>$(editor[i])[0].outerHTML.replace('data-mce-style="color: red;"', '');
</code></pre>

<p>But it's not replacing it.</p>
