title: How to get value of CKEditor 5?
body: <p>I want to be able to return the value of the CKEditor textarea, and also write my text inside it.</p>
  
  <p>I used CKEditor 5 CDN. First this my code for the textarea it works fine</p>
  
  <pre><code>&lt;script src="https://cdn.ckeditor.com/ckeditor5/1.0.0-alpha.1/classic/ckeditor.js"&gt;&lt;/script&gt;
  
  &lt;textarea class="inputStyle" id="editor" name="content" placeholder="Write your email.."&gt;&lt;/textarea&gt;
  &lt;script&gt;ClassicEditor.create(document.querySelector('#editor')).catch( error =&gt; { console.error( error );  } ); &lt;/script&gt;
  </code></pre>
  
  <p>I used to get the data from the textarea before the CKEditor by:</p>
  
  <pre><code>var text = $('textarea#editor').val();
  </code></pre>
  
  <p>and set the data by: </p>
  
  <pre><code>$('textarea#editor').html("");
  </code></pre>
  
  <p>but i'm lost now? i tried many ways... what is the correct way?</p>