ngx-quill
Advanced tools
Comparing version 1.2.1 to 1.2.3
{ | ||
"name": "ngx-quill", | ||
"license": "MIT", | ||
"version": "1.2.1", | ||
"version": "1.2.3", | ||
"author": { | ||
@@ -17,3 +17,3 @@ "name": "Bengt Weiße" | ||
"lint": "tslint --force \"src/**/*.ts\"", | ||
"prepublish": "npm run build", | ||
"prepublish": "npm run test && npm run build", | ||
"build": "webpack --display-error-details && cp bundles/ngx-quill.umd.js bundles/index.js", | ||
@@ -39,3 +39,3 @@ "pretest": "npm run lint", | ||
"main": "bundles/ngx-quill.umd.js", | ||
"module": "index.js", | ||
"module": "bundles/index.js", | ||
"typings": "index.d.ts", | ||
@@ -42,0 +42,0 @@ "dependencies": { |
import { AfterViewInit, ElementRef, EventEmitter, OnChanges, SimpleChanges } from '@angular/core'; | ||
import { ControlValueAccessor, FormControl, Validator } from '@angular/forms'; | ||
import { ControlValueAccessor, Validator } from '@angular/forms'; | ||
export declare class QuillEditorComponent implements AfterViewInit, ControlValueAccessor, OnChanges, Validator { | ||
@@ -54,3 +54,3 @@ private elementRef; | ||
registerOnTouched(fn: Function): void; | ||
validate(c: FormControl): { | ||
validate(): { | ||
minLengthError?: { | ||
@@ -57,0 +57,0 @@ given: number; |
@@ -308,4 +308,4 @@ import { TestBed, async, ComponentFixture } from '@angular/core/testing'; | ||
const editorComponent = this.fixture.debugElement.children[0].componentInstance; | ||
expect(editorComponent.required).toBe(true) | ||
expect(editorComponent.required).toBe(true); | ||
})); | ||
}); |
@@ -107,3 +107,3 @@ import { | ||
if (this.content) { | ||
this.quillEditor.pasteHTML(this.content) | ||
this.quillEditor.pasteHTML(this.content); | ||
} | ||
@@ -211,3 +211,3 @@ | ||
empty: true | ||
} | ||
}; | ||
@@ -214,0 +214,0 @@ valid = false; |
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
200387
23
1368