title: How do I retrive Quill text editor text using Delta
body: <p>I am using the quill text editor in a php based web-app and I need to retrieve the contents of the text editor as a string with the HTML included but the docs are a little sparse on this subject. Ultimately I want to write that data to a database.</p>
  
  <p>This is how I tried to get the content</p>
  
  <pre class="lang-js prettyprint-override"><code>var quill = new Quill('#editor-container', {
    modules: {
      toolbar: [
        [{ header: [1, 2, false] }],
        ['bold', 'italic', 'underline'],
        ['image', 'code-block']
      ]
    },
    placeholder: 'Compose an Des...',
    theme: 'snow'  // or 'bubble'
  });
  var delta = quill.getContents();
  var text = editor.getText();
  </code></pre>