title: How to show html preview from html String in CKEDITOR?
body: <p>JavaScript </p>
  
  <pre><code>var preview = CKEDITOR.document.getById( 'mailViewer' );
       preview.setHtml($('#mail-content').html());
  </code></pre>
  
  <p>Html</p>
  
  <pre><code>&lt;span id="mail-content" th:text="${mailReceived.body}" style="display:none;"&gt;&lt;/span&gt;
  &lt;div id="mailViewer"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>output
    <a href="https://i.stack.imgur.com/sxTLc.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sxTLc.jpg" alt=""></a> </p>
  
  <p>i'm trying to set HTML String in CKEDITOR but it is not showing HTML preview. How to make it show html preview</p>