title: TinyMCE public methods to parse HTML like paste plugin in other editor
body: <p>I have two editors in my application. One is tinyMCE and other is different one.
  Is there any tinyMCE public methods that I can use to filter html tags and css that I can use for other editor.</p>
  <pre><code>pasteRetainStyleProperties = ['font-weight', 'font-style', 'font-size'];
  pasteValidElements = ['b', 'strong', 'i', 'em'];
  </code></pre>
  <p>This is similar to the tinyMCE 4 feature. However I have to filter HTML string in the similar way. I am trying to build this for other editor. Hence I am wondering instead of building it from scratch is there any tinyMCE methods that I can use outside tinyMCE. Or any other 3rd party library help me achieve the same.</p>
  <p>Any help would be greatly appreciated.</p>
  <p>Thanks,
  Shridhar</p>