title: Including styles in Quill setHTML
body: <p>I am attempting to insert HTML into quill editor. The HTML can contain custom styles in style tags. </p>
  
  <p>Quill is replacing all style tags with span tags in the HTML, for example a test in this jsfiddle : <a href="http://jsfiddle.net/f1L4z2py/" rel="nofollow">http://jsfiddle.net/f1L4z2py/</a></p>
  
  <pre><code>var testStr = "";
  testStr += "&lt;html&gt;&lt;head&gt;&lt;style type=\"text/css\"&gt;.testcss { background-color: black; }&lt;/style&gt;&lt;/head&gt;&lt;body class=\"testcss\"&gt;test&lt;/body&gt;&lt;/html&gt;"
  
  quill.setHTML(testStr);
  </code></pre>
  
  <p>Does Quill support custom styles in its' editor HTML? </p>
  
  <p>I looked at the Quill documentation : <a href="http://quilljs.com/docs/api/" rel="nofollow">http://quilljs.com/docs/api/</a> , however I saw nothing about support for custom styles in the HTML except for maybe SetContents, however I would like to avoid extracting the style from the given HTML if I can avoid it.</p>
  
  <p>Is the switching out of style tags for span tags a bug with Quill? Is the only way to support custom styling for setting HTML in Quill to manually extract the styles from given HTML first and then applying the HTML into Quill editor?</p>
  
  <p>Thanks </p>