ngx-quill
Advanced tools
Comparing version 1.3.5 to 1.3.6
@@ -12,2 +12,3 @@ /** | ||
import * as i2 from '../../src/quill-editor.component'; | ||
import * as i3 from '@angular/platform-browser'; | ||
const styles_QuillEditorComponent:any[] = ([] as any[]); | ||
@@ -29,3 +30,3 @@ export const RenderType_QuillEditorComponent:i0.RendererType2 = i0.ɵcrt({encapsulation:2, | ||
},[i2.QuillEditorComponent]),i0.ɵdid(4767744,(null as any),0,i2.QuillEditorComponent, | ||
[i0.ElementRef],(null as any),(null as any))],(null as any),(null as any)); | ||
[i0.ElementRef,i3.DOCUMENT],(null as any),(null as any))],(null as any),(null as any)); | ||
} | ||
@@ -38,2 +39,2 @@ export const QuillEditorComponentNgFactory:i0.ComponentFactory<i2.QuillEditorComponent> = i0.ɵccf('quill-editor', | ||
['[quill-editor-toolbar]']); | ||
//# sourceMappingURL=data:application/json;base64,eyJmaWxlIjoiL1VzZXJzL2Jlbmd0bGVyL2Rldi9uZ3gtcXVpbGwvc3JjL3F1aWxsLWVkaXRvci5jb21wb25lbnQubmdmYWN0b3J5LnRzIiwidmVyc2lvbiI6Mywic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsibmc6Ly8vVXNlcnMvYmVuZ3RsZXIvZGV2L25neC1xdWlsbC9zcmMvcXVpbGwtZWRpdG9yLmNvbXBvbmVudC50cyIsIm5nOi8vL1VzZXJzL2Jlbmd0bGVyL2Rldi9uZ3gtcXVpbGwvc3JjL3F1aWxsLWVkaXRvci5jb21wb25lbnQudHMuUXVpbGxFZGl0b3JDb21wb25lbnQuaHRtbCIsIm5nOi8vL1VzZXJzL2Jlbmd0bGVyL2Rldi9uZ3gtcXVpbGwvc3JjL3F1aWxsLWVkaXRvci5jb21wb25lbnQudHMuUXVpbGxFZGl0b3JDb21wb25lbnRfSG9zdC5odG1sIl0sInNvdXJjZXNDb250ZW50IjpbIiAiLCJcbiAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiW3F1aWxsLWVkaXRvci10b29sYmFyXVwiPjwvbmctY29udGVudD5cbiIsIjxxdWlsbC1lZGl0b3I+PC9xdWlsbC1lZGl0b3I+Il0sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7Ozs7Ozs7Ozs7O29CQ0FBLGdEQUNFO01BQUEsR0FBeUQ7OztvQkNEM0Q7TUFBQTtxQ0FBQTtNQUFBO1FBQUE7TUFBQTtJQUFBO0VBQUEsb0NBQUE7TUFBQTs7Ozs7OzsifQ== | ||
//# sourceMappingURL=data:application/json;base64,eyJmaWxlIjoiL1VzZXJzL2Jlbmd0bGVyL2Rldi9uZ3gtcXVpbGwvc3JjL3F1aWxsLWVkaXRvci5jb21wb25lbnQubmdmYWN0b3J5LnRzIiwidmVyc2lvbiI6Mywic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsibmc6Ly8vVXNlcnMvYmVuZ3RsZXIvZGV2L25neC1xdWlsbC9zcmMvcXVpbGwtZWRpdG9yLmNvbXBvbmVudC50cyIsIm5nOi8vL1VzZXJzL2Jlbmd0bGVyL2Rldi9uZ3gtcXVpbGwvc3JjL3F1aWxsLWVkaXRvci5jb21wb25lbnQudHMuUXVpbGxFZGl0b3JDb21wb25lbnQuaHRtbCIsIm5nOi8vL1VzZXJzL2Jlbmd0bGVyL2Rldi9uZ3gtcXVpbGwvc3JjL3F1aWxsLWVkaXRvci5jb21wb25lbnQudHMuUXVpbGxFZGl0b3JDb21wb25lbnRfSG9zdC5odG1sIl0sInNvdXJjZXNDb250ZW50IjpbIiAiLCJcbiAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiW3F1aWxsLWVkaXRvci10b29sYmFyXVwiPjwvbmctY29udGVudD5cbiIsIjxxdWlsbC1lZGl0b3I+PC9xdWlsbC1lZGl0b3I+Il0sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7Ozs7Ozs7Ozs7OztvQkNBQSxnREFDRTtNQUFBLEdBQXlEOzs7b0JDRDNEO01BQUE7cUNBQUE7TUFBQTtRQUFBO01BQUE7SUFBQTtFQUFBLG9DQUFBO01BQUE7Ozs7Ozs7In0= |
@@ -1,1 +0,1 @@ | ||
{"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"class","members":{"theme":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"modules":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"readOnly":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"placeholder":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"maxLength":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"minLength":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"required":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"formats":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"bounds":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"onEditorCreated":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"onContentChanged":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"onSelectionChanged":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbol":3,"members":[]}]}],"ngAfterViewInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"writeValue":[{"__symbolic":"method"}],"registerOnChange":[{"__symbolic":"method"}],"registerOnTouched":[{"__symbolic":"method"}],"validate":[{"__symbolic":"method"}]}},"type":{"summaryKind":1,"type":{"reference":{"__symbol":0,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":3,"members":[]}}}}],"lifecycleHooks":[3,6]},"isComponent":true,"selector":"quill-editor","exportAs":null,"inputs":{"theme":"theme","modules":"modules","readOnly":"readOnly","placeholder":"placeholder","maxLength":"maxLength","minLength":"minLength","required":"required","formats":"formats","bounds":"bounds"},"outputs":{"onEditorCreated":"onEditorCreated","onContentChanged":"onContentChanged","onSelectionChanged":"onSelectionChanged"},"hostListeners":{},"hostProperties":{},"hostAttributes":{},"providers":[{"token":{"identifier":{"reference":{"__symbol":4,"members":[]}}},"useClass":null,"useFactory":null,"useExisting":{"identifier":{"reference":{"__symbol":0,"members":[]}}},"multi":true},{"token":{"identifier":{"reference":{"__symbol":5,"members":[]}}},"useClass":null,"useFactory":null,"useExisting":{"identifier":{"reference":{"__symbol":0,"members":[]}}},"multi":true}],"viewProviders":[],"queries":[],"viewQueries":[],"entryComponents":[],"changeDetection":1,"template":{"animations":[],"ngContentSelectors":["[quill-editor-toolbar]"],"encapsulation":2},"componentViewType":{"__symbol":6,"members":[]},"rendererType":{"__symbol":7,"members":[]},"componentFactory":{"__symbol":8,"members":[]}}}],"symbols":[{"__symbol":0,"name":"QuillEditorComponent","filePath":"/Users/bengtler/dev/ngx-quill/src/quill-editor.component.d.ts"},{"__symbol":1,"name":"Input","filePath":"/Users/bengtler/dev/ngx-quill/node_modules/@angular/core/core.d.ts"},{"__symbol":2,"name":"Output","filePath":"/Users/bengtler/dev/ngx-quill/node_modules/@angular/core/core.d.ts"},{"__symbol":3,"name":"ElementRef","filePath":"/Users/bengtler/dev/ngx-quill/node_modules/@angular/core/core.d.ts"},{"__symbol":4,"name":"NG_VALUE_ACCESSOR","filePath":"/Users/bengtler/dev/ngx-quill/node_modules/@angular/forms/forms.d.ts"},{"__symbol":5,"name":"NG_VALIDATORS","filePath":"/Users/bengtler/dev/ngx-quill/node_modules/@angular/forms/forms.d.ts"},{"__symbol":6,"name":"View_QuillEditorComponent_0","filePath":"/Users/bengtler/dev/ngx-quill/src/quill-editor.component.ngfactory.d.ts"},{"__symbol":7,"name":"RenderType_QuillEditorComponent","filePath":"/Users/bengtler/dev/ngx-quill/src/quill-editor.component.ngfactory.d.ts"},{"__symbol":8,"name":"QuillEditorComponentNgFactory","filePath":"/Users/bengtler/dev/ngx-quill/src/quill-editor.component.ngfactory.d.ts"}]} | ||
{"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"class","members":{"theme":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"modules":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"readOnly":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"placeholder":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"maxLength":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"minLength":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"required":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"formats":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"bounds":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"onEditorCreated":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"onContentChanged":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"onSelectionChanged":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,[{"__symbolic":"call","expression":{"__symbol":3,"members":[]},"arguments":[{"__symbol":4,"members":[]}]}]],"parameters":[{"__symbol":5,"members":[]},null]}],"ngAfterViewInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"writeValue":[{"__symbolic":"method"}],"registerOnChange":[{"__symbolic":"method"}],"registerOnTouched":[{"__symbolic":"method"}],"validate":[{"__symbolic":"method"}]}},"type":{"summaryKind":1,"type":{"reference":{"__symbol":0,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":5,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":4,"members":[]}}}}],"lifecycleHooks":[3,6]},"isComponent":true,"selector":"quill-editor","exportAs":null,"inputs":{"theme":"theme","modules":"modules","readOnly":"readOnly","placeholder":"placeholder","maxLength":"maxLength","minLength":"minLength","required":"required","formats":"formats","bounds":"bounds"},"outputs":{"onEditorCreated":"onEditorCreated","onContentChanged":"onContentChanged","onSelectionChanged":"onSelectionChanged"},"hostListeners":{},"hostProperties":{},"hostAttributes":{},"providers":[{"token":{"identifier":{"reference":{"__symbol":6,"members":[]}}},"useClass":null,"useFactory":null,"useExisting":{"identifier":{"reference":{"__symbol":0,"members":[]}}},"multi":true},{"token":{"identifier":{"reference":{"__symbol":7,"members":[]}}},"useClass":null,"useFactory":null,"useExisting":{"identifier":{"reference":{"__symbol":0,"members":[]}}},"multi":true}],"viewProviders":[],"queries":[],"viewQueries":[],"entryComponents":[],"changeDetection":1,"template":{"animations":[],"ngContentSelectors":["[quill-editor-toolbar]"],"encapsulation":2},"componentViewType":{"__symbol":8,"members":[]},"rendererType":{"__symbol":9,"members":[]},"componentFactory":{"__symbol":10,"members":[]}}}],"symbols":[{"__symbol":0,"name":"QuillEditorComponent","filePath":"/Users/bengtler/dev/ngx-quill/src/quill-editor.component.d.ts"},{"__symbol":1,"name":"Input","filePath":"/Users/bengtler/dev/ngx-quill/node_modules/@angular/core/core.d.ts"},{"__symbol":2,"name":"Output","filePath":"/Users/bengtler/dev/ngx-quill/node_modules/@angular/core/core.d.ts"},{"__symbol":3,"name":"Inject","filePath":"/Users/bengtler/dev/ngx-quill/node_modules/@angular/core/core.d.ts"},{"__symbol":4,"name":"DOCUMENT","filePath":"/Users/bengtler/dev/ngx-quill/node_modules/@angular/platform-browser/platform-browser.d.ts"},{"__symbol":5,"name":"ElementRef","filePath":"/Users/bengtler/dev/ngx-quill/node_modules/@angular/core/core.d.ts"},{"__symbol":6,"name":"NG_VALUE_ACCESSOR","filePath":"/Users/bengtler/dev/ngx-quill/node_modules/@angular/forms/forms.d.ts"},{"__symbol":7,"name":"NG_VALIDATORS","filePath":"/Users/bengtler/dev/ngx-quill/node_modules/@angular/forms/forms.d.ts"},{"__symbol":8,"name":"View_QuillEditorComponent_0","filePath":"/Users/bengtler/dev/ngx-quill/src/quill-editor.component.ngfactory.d.ts"},{"__symbol":9,"name":"RenderType_QuillEditorComponent","filePath":"/Users/bengtler/dev/ngx-quill/src/quill-editor.component.ngfactory.d.ts"},{"__symbol":10,"name":"QuillEditorComponentNgFactory","filePath":"/Users/bengtler/dev/ngx-quill/src/quill-editor.component.ngfactory.d.ts"}]} |
(function webpackUniversalModuleDefinition(root, factory) { | ||
if(typeof exports === 'object' && typeof module === 'object') | ||
module.exports = factory(require("@angular/core"), require("@angular/forms"), require("quill")); | ||
module.exports = factory(require("@angular/core"), require("@angular/forms"), require("@angular/platform-browser"), require("quill")); | ||
else if(typeof define === 'function' && define.amd) | ||
define(["@angular/core", "@angular/forms", "quill"], factory); | ||
define(["@angular/core", "@angular/forms", "@angular/platform-browser", "quill"], factory); | ||
else if(typeof exports === 'object') | ||
exports["ngx-quill"] = factory(require("@angular/core"), require("@angular/forms"), require("quill")); | ||
exports["ngx-quill"] = factory(require("@angular/core"), require("@angular/forms"), require("@angular/platform-browser"), require("quill")); | ||
else | ||
root["ngx-quill"] = factory(root["@angular/core"], root["@angular/forms"], root["quill"]); | ||
})(this, function(__WEBPACK_EXTERNAL_MODULE_2__, __WEBPACK_EXTERNAL_MODULE_4__, __WEBPACK_EXTERNAL_MODULE_5__) { | ||
root["ngx-quill"] = factory(root["@angular/core"], root["@angular/forms"], root["@angular/platform-browser"], root["quill"]); | ||
})(this, function(__WEBPACK_EXTERNAL_MODULE_2__, __WEBPACK_EXTERNAL_MODULE_4__, __WEBPACK_EXTERNAL_MODULE_5__, __WEBPACK_EXTERNAL_MODULE_6__) { | ||
return /******/ (function(modules) { // webpackBootstrap | ||
@@ -117,9 +117,15 @@ /******/ // The module cache | ||
}; | ||
var __param = (this && this.__param) || function (paramIndex, decorator) { | ||
return function (target, key) { decorator(target, key, paramIndex); } | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var core_1 = __webpack_require__(2); | ||
var forms_1 = __webpack_require__(4); | ||
var Quill = __webpack_require__(5); | ||
var core_2 = __webpack_require__(2); | ||
var platform_browser_1 = __webpack_require__(5); | ||
var Quill = __webpack_require__(6); | ||
var QuillEditorComponent = (function () { | ||
function QuillEditorComponent(elementRef) { | ||
function QuillEditorComponent(elementRef, doc) { | ||
this.elementRef = elementRef; | ||
this.doc = doc; | ||
this.emptyArray = []; | ||
@@ -170,3 +176,3 @@ this.defaultModules = { | ||
formats: this.formats, | ||
bounds: this.bounds || document.body | ||
bounds: this.bounds || this.doc.body | ||
}); | ||
@@ -321,3 +327,4 @@ if (this.content) { | ||
}), | ||
__metadata("design:paramtypes", [core_1.ElementRef]) | ||
__param(1, core_2.Inject(platform_browser_1.DOCUMENT)), | ||
__metadata("design:paramtypes", [core_1.ElementRef, Object]) | ||
], QuillEditorComponent); | ||
@@ -340,2 +347,8 @@ return QuillEditorComponent; | ||
module.exports = require("@angular/platform-browser"); | ||
/***/ }), | ||
/* 6 */ | ||
/***/ (function(module, exports) { | ||
module.exports = require("quill"); | ||
@@ -342,0 +355,0 @@ |
(function webpackUniversalModuleDefinition(root, factory) { | ||
if(typeof exports === 'object' && typeof module === 'object') | ||
module.exports = factory(require("@angular/core"), require("@angular/forms"), require("quill")); | ||
module.exports = factory(require("@angular/core"), require("@angular/forms"), require("@angular/platform-browser"), require("quill")); | ||
else if(typeof define === 'function' && define.amd) | ||
define(["@angular/core", "@angular/forms", "quill"], factory); | ||
define(["@angular/core", "@angular/forms", "@angular/platform-browser", "quill"], factory); | ||
else if(typeof exports === 'object') | ||
exports["ngx-quill"] = factory(require("@angular/core"), require("@angular/forms"), require("quill")); | ||
exports["ngx-quill"] = factory(require("@angular/core"), require("@angular/forms"), require("@angular/platform-browser"), require("quill")); | ||
else | ||
root["ngx-quill"] = factory(root["@angular/core"], root["@angular/forms"], root["quill"]); | ||
})(this, function(__WEBPACK_EXTERNAL_MODULE_2__, __WEBPACK_EXTERNAL_MODULE_4__, __WEBPACK_EXTERNAL_MODULE_5__) { | ||
root["ngx-quill"] = factory(root["@angular/core"], root["@angular/forms"], root["@angular/platform-browser"], root["quill"]); | ||
})(this, function(__WEBPACK_EXTERNAL_MODULE_2__, __WEBPACK_EXTERNAL_MODULE_4__, __WEBPACK_EXTERNAL_MODULE_5__, __WEBPACK_EXTERNAL_MODULE_6__) { | ||
return /******/ (function(modules) { // webpackBootstrap | ||
@@ -117,9 +117,15 @@ /******/ // The module cache | ||
}; | ||
var __param = (this && this.__param) || function (paramIndex, decorator) { | ||
return function (target, key) { decorator(target, key, paramIndex); } | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var core_1 = __webpack_require__(2); | ||
var forms_1 = __webpack_require__(4); | ||
var Quill = __webpack_require__(5); | ||
var core_2 = __webpack_require__(2); | ||
var platform_browser_1 = __webpack_require__(5); | ||
var Quill = __webpack_require__(6); | ||
var QuillEditorComponent = (function () { | ||
function QuillEditorComponent(elementRef) { | ||
function QuillEditorComponent(elementRef, doc) { | ||
this.elementRef = elementRef; | ||
this.doc = doc; | ||
this.emptyArray = []; | ||
@@ -170,3 +176,3 @@ this.defaultModules = { | ||
formats: this.formats, | ||
bounds: this.bounds || document.body | ||
bounds: this.bounds || this.doc.body | ||
}); | ||
@@ -321,3 +327,4 @@ if (this.content) { | ||
}), | ||
__metadata("design:paramtypes", [core_1.ElementRef]) | ||
__param(1, core_2.Inject(platform_browser_1.DOCUMENT)), | ||
__metadata("design:paramtypes", [core_1.ElementRef, Object]) | ||
], QuillEditorComponent); | ||
@@ -340,2 +347,8 @@ return QuillEditorComponent; | ||
module.exports = require("@angular/platform-browser"); | ||
/***/ }), | ||
/* 6 */ | ||
/***/ (function(module, exports) { | ||
module.exports = require("quill"); | ||
@@ -342,0 +355,0 @@ |
{ | ||
"name": "ngx-quill", | ||
"license": "MIT", | ||
"version": "1.3.5", | ||
"version": "1.3.6", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Bengt Weiße" |
@@ -5,2 +5,3 @@ import { AfterViewInit, ElementRef, EventEmitter, OnChanges, SimpleChanges } from '@angular/core'; | ||
private elementRef; | ||
private doc; | ||
quillEditor: any; | ||
@@ -51,3 +52,3 @@ editorElem: HTMLElement; | ||
onModelTouched: Function; | ||
constructor(elementRef: ElementRef); | ||
constructor(elementRef: ElementRef, doc: any); | ||
ngAfterViewInit(): void; | ||
@@ -54,0 +55,0 @@ ngOnChanges(changes: SimpleChanges): void; |
@@ -10,8 +10,14 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
}; | ||
var __param = (this && this.__param) || function (paramIndex, decorator) { | ||
return function (target, key) { decorator(target, key, paramIndex); } | ||
}; | ||
import { Component, ElementRef, EventEmitter, forwardRef, Input, Output, ViewEncapsulation } from '@angular/core'; | ||
import { NG_VALUE_ACCESSOR, NG_VALIDATORS } from '@angular/forms'; | ||
import { Inject } from '@angular/core'; | ||
import { DOCUMENT } from '@angular/platform-browser'; | ||
import * as Quill from 'quill'; | ||
var QuillEditorComponent = (function () { | ||
function QuillEditorComponent(elementRef) { | ||
function QuillEditorComponent(elementRef, doc) { | ||
this.elementRef = elementRef; | ||
this.doc = doc; | ||
this.emptyArray = []; | ||
@@ -62,3 +68,3 @@ this.defaultModules = { | ||
formats: this.formats, | ||
bounds: this.bounds || document.body | ||
bounds: this.bounds || this.doc.body | ||
}); | ||
@@ -213,3 +219,4 @@ if (this.content) { | ||
}), | ||
__metadata("design:paramtypes", [ElementRef]) | ||
__param(1, Inject(DOCUMENT)), | ||
__metadata("design:paramtypes", [ElementRef, Object]) | ||
], QuillEditorComponent); | ||
@@ -216,0 +223,0 @@ return QuillEditorComponent; |
@@ -20,2 +20,4 @@ import { | ||
} from '@angular/forms'; | ||
import { Inject } from '@angular/core'; | ||
import { DOCUMENT } from '@angular/platform-browser'; | ||
@@ -87,3 +89,3 @@ import * as Quill from 'quill'; | ||
constructor(private elementRef: ElementRef) { } | ||
constructor(private elementRef: ElementRef, @Inject(DOCUMENT) private doc: any) { } | ||
@@ -111,3 +113,3 @@ ngAfterViewInit() { | ||
formats: this.formats, | ||
bounds: this.bounds || document.body | ||
bounds: this.bounds || this.doc.body | ||
}); | ||
@@ -114,0 +116,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
521452
52
1786