Open JamieBohannaWebDev opened 4 years ago
The documentation for Angular 8 is outdated.
It states to run npm install ngx-quill-editor --save but this installs an old version of quill.
npm install ngx-quill-editor --save
By running npm install ngx-quill@3.0.0 this fixed it.
npm install ngx-quill@3.0.0
After doing that however, I got the following error:
export 'DOCUMENT' was not found in '@angular/platform-browser'.
Withing /node_modules/ngx-quill/src/quill-editor.component.ts, on line 4 is:
import { DOCUMENT } from '@angular/platform-browser';
Please change this to import { DOCUMENT } from '@angular/common';
import { DOCUMENT } from '@angular/common';
I believe this changed in Angular 4/5.
The documentation for Angular 8 is outdated.
It states to run
npm install ngx-quill-editor --save
but this installs an old version of quill.By running
npm install ngx-quill@3.0.0
this fixed it.After doing that however, I got the following error:
export 'DOCUMENT' was not found in '@angular/platform-browser'.
Withing /node_modules/ngx-quill/src/quill-editor.component.ts, on line 4 is:
import { DOCUMENT } from '@angular/platform-browser';
Please change this to
import { DOCUMENT } from '@angular/common';
I believe this changed in Angular 4/5.