ngx-quill
Advanced tools
Comparing version 1.3.1 to 1.3.2
@@ -153,2 +153,6 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
var modules = this.modules || this.defaultModules; | ||
var placeholder = 'Insert text here ...'; | ||
if (this.placeholder !== null && this.placeholder !== undefined) { | ||
placeholder = this.placeholder.trim(); | ||
} | ||
if (toolbarElem) { | ||
@@ -161,3 +165,3 @@ modules['toolbar'] = toolbarElem; | ||
modules: modules, | ||
placeholder: this.placeholder || 'Insert text here ...', | ||
placeholder: placeholder, | ||
readOnly: this.readOnly || false, | ||
@@ -164,0 +168,0 @@ theme: this.theme || 'snow', |
@@ -153,2 +153,6 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
var modules = this.modules || this.defaultModules; | ||
var placeholder = 'Insert text here ...'; | ||
if (this.placeholder !== null && this.placeholder !== undefined) { | ||
placeholder = this.placeholder.trim(); | ||
} | ||
if (toolbarElem) { | ||
@@ -161,3 +165,3 @@ modules['toolbar'] = toolbarElem; | ||
modules: modules, | ||
placeholder: this.placeholder || 'Insert text here ...', | ||
placeholder: placeholder, | ||
readOnly: this.readOnly || false, | ||
@@ -164,0 +168,0 @@ theme: this.theme || 'snow', |
{ | ||
"name": "ngx-quill", | ||
"license": "MIT", | ||
"version": "1.3.1", | ||
"version": "1.3.2", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Bengt Weiße" |
@@ -45,2 +45,6 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
var modules = this.modules || this.defaultModules; | ||
var placeholder = 'Insert text here ...'; | ||
if (this.placeholder !== null && this.placeholder !== undefined) { | ||
placeholder = this.placeholder.trim(); | ||
} | ||
if (toolbarElem) { | ||
@@ -53,3 +57,3 @@ modules['toolbar'] = toolbarElem; | ||
modules: modules, | ||
placeholder: this.placeholder || 'Insert text here ...', | ||
placeholder: placeholder, | ||
readOnly: this.readOnly || false, | ||
@@ -56,0 +60,0 @@ theme: this.theme || 'snow', |
@@ -91,3 +91,8 @@ import { | ||
let modules: any = this.modules || this.defaultModules; | ||
let placeholder = 'Insert text here ...'; | ||
if (this.placeholder !== null && this.placeholder !== undefined) { | ||
placeholder = this.placeholder.trim(); | ||
} | ||
if (toolbarElem) { | ||
@@ -101,3 +106,3 @@ modules['toolbar'] = toolbarElem; | ||
modules: modules, | ||
placeholder: this.placeholder || 'Insert text here ...', | ||
placeholder: placeholder, | ||
readOnly: this.readOnly || false, | ||
@@ -104,0 +109,0 @@ theme: this.theme || 'snow', |
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
371146
1889