title: PrimeNg Error: Quill is not defined
body: <p>I am trying to use the editor control in primeng: <a href="https://www.primefaces.org/primeng/#/editor" rel="noreferrer">https://www.primefaces.org/primeng/#/editor</a></p>
  
  <p>But I am getting the error: </p>
  
  <blockquote>
    <p>ERROR ReferenceError: Quill is not defined
        at Editor.webpackJsonp.../../../../primeng/components/editor/editor.js.Editor.ngAfterViewInit </p>
  </blockquote>
  
  <p>My project uses:</p>
  
  <ul>
  <li>Angular Cli: 1.4.1</li>
  <li>Angular: 4.3.6</li>
  <li>NPM: 5.4.1</li>
  <li>Node: 6.10.0</li>
  <li>PrimeNG: 4.2.0</li>
  </ul>
  
  <p>I found this issue: <a href="https://github.com/primefaces/primeng/issues/807" rel="noreferrer">https://github.com/primefaces/primeng/issues/807</a></p>
  
  <p>I followed the instructions:</p>
  
  <h1>import editor module</h1>
  
  <pre><code>import {EditorModule} from 'primeng/primeng';
  </code></pre>
  
  <h1>Install packages:</h1>
  
  <pre><code>npm install quill --save
  
  npm install @types/quill --save
  </code></pre>
  
  <h1>Update angular-cli.json</h1>
  
  <pre><code>"styles": [ "../node_modules/quill/dist/quill.core.css", "../node_modules/quill/dist/quill.snow.css", ], "scripts": [ "../node_modules/quill/dist/quill.js" ],
  </code></pre>
  
  <p>but it still has the same issue.  I am just adding default markup:</p>
  
  <pre><code>&lt;p-editor [(ngModel)]="text" [style]="{'height':'320px'}"&gt;&lt;/p-editor&gt;
  </code></pre>
  
  <p>And I get the error and it looks like this:</p>
  
  <p><a href="https://i.stack.imgur.com/Dkop7.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Dkop7.png" alt="enter image description here"></a></p>
  
  <p>The only thing on that thread I didn't try is installing the webpack plugin because I am using angular cli I don't think that is an option.</p>
  
  <p>What can I try to fix this?</p>