Ngx-quill: Angular universal

Created on 16 Aug 2017  路  4Comments  路  Source: KillerCodeMonkey/ngx-quill

Hi,

ngx-quill breaks universal

for example this line
var elem = document.createElement('div');

cause
ReferenceError: document is not defined

All 4 comments

there is no document.create in ngx-quill. Maybe ng-quill uses this.

Could you give me more details?

The only usage of ngx-quill is document.body, which i can replace with the universal version.
But this has no effect if you build the quill dependencies with angular universal ;)

I published a new version, where i use the angular universal way to access the document.

Other errors are produced by quilljs --> so you can add an issue there ;)

@SebastianPodgajny hey did you solve the issue?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

swymmwys picture swymmwys  路  5Comments

Fzwael picture Fzwael  路  3Comments

theCrius picture theCrius  路  3Comments

KeithGillette picture KeithGillette  路  4Comments

MarkusLei22 picture MarkusLei22  路  5Comments