TinyMCE Inline留下垃圾代码

时间:2015-06-26 21:59:30

标签: javascript tinymce inline

在TinyMCE中是否有一种“更简单”的方法可以删除它留给FOR INLINE的垃圾代码?

      <div class="col-lg-6 col-md-6 col-sm-6">
        <div class="thumbnail" data-type="imagewrap">
          <div spellcheck="false" style="position: relative;" id="mce_20" data-type="image"><img class="img-responsive" src="http://os.dev/pets4you.com/httpdocs/pages/demo/images/09-29-2011edokkomoki.jpg" alt="" data-mce-src="http://os.dev/pets4you.com/httpdocs/pages/demo/images/09-29-2011edokkomoki.jpg"></div>
          <div spellcheck="false" style="position: relative;" id="mce_26" data-type="caption"><h4>Edokko's Moki</h4>Chocolate Silver</div>
        </div>
      </div>

特别是这个垃圾:

spellcheck =“false”style =“position:relative;” ID = “mce_26”

数据-MCE-SRC = “http://os.dev/pets4you.com/httpdocs/pages/demo/images/09-29-2011edokkomoki.jpg”

截至目前,我必须销毁它,然后浏览标签并从每个元素中删除它们。真的想要删除那一步。

0 个答案:

没有答案