ngx-quill
Advanced tools
Comparing version 20.0.1 to 21.0.0
export * from './quill-defaults'; | ||
export * from './quill-config.module'; | ||
export * from './quill-editor.interfaces'; | ||
export * from './provide-quill-config'; |
@@ -1,7 +0,5 @@ | ||
import { DomSanitizer } from '@angular/platform-browser'; | ||
import QuillType, { Delta } from 'quill'; | ||
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, Injector, NgZone, OnChanges, OnDestroy, OnInit, Renderer2, SimpleChanges } from '@angular/core'; | ||
import { AfterViewInit, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core'; | ||
import { ControlValueAccessor, Validator } from '@angular/forms'; | ||
import { QuillModules, CustomOption, CustomModule } from 'ngx-quill/config'; | ||
import { QuillService } from './quill.service'; | ||
import * as i0 from "@angular/core"; | ||
@@ -42,9 +40,2 @@ export interface Range { | ||
export declare abstract class QuillEditorBase implements AfterViewInit, ControlValueAccessor, OnChanges, OnInit, OnDestroy, Validator { | ||
elementRef: ElementRef; | ||
protected cd: ChangeDetectorRef; | ||
protected domSanitizer: DomSanitizer; | ||
protected platformId: any; | ||
protected renderer: Renderer2; | ||
protected zone: NgZone; | ||
protected service: QuillService; | ||
format?: 'object' | 'html' | 'text' | 'json'; | ||
@@ -93,6 +84,12 @@ theme?: string; | ||
onValidatorChanged: () => void; | ||
private document; | ||
private subscription; | ||
private quillSubscription; | ||
constructor(injector: Injector, elementRef: ElementRef, cd: ChangeDetectorRef, domSanitizer: DomSanitizer, platformId: any, renderer: Renderer2, zone: NgZone, service: QuillService); | ||
private elementRef; | ||
private document; | ||
private cd; | ||
private domSanitizer; | ||
private platformId; | ||
private renderer; | ||
private zone; | ||
private service; | ||
static normalizeClassNames(classes: string): string[]; | ||
@@ -134,5 +131,4 @@ valueGetter: (quillEditor: QuillType, editorElement: HTMLElement) => string | any; | ||
export declare class QuillEditorComponent extends QuillEditorBase { | ||
constructor(injector: Injector, elementRef: ElementRef, cd: ChangeDetectorRef, domSanitizer: DomSanitizer, platformId: any, renderer: Renderer2, zone: NgZone, service: QuillService); | ||
static ɵfac: i0.ɵɵFactoryDeclaration<QuillEditorComponent, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<QuillEditorComponent, "quill-editor", never, {}, {}, never, ["[quill-editor-toolbar]"], true, never>; | ||
} |
{ | ||
"name": "ngx-quill", | ||
"version": "20.0.1", | ||
"version": "21.0.0", | ||
"license": "MIT", | ||
@@ -34,3 +34,3 @@ "author": { | ||
"peerDependencies": { | ||
"@angular/core": "^14.0.0 || ^15.0.0", | ||
"@angular/core": "^15.0.0", | ||
"quill": "^1.3.7", | ||
@@ -37,0 +37,0 @@ "rxjs": "^7.0.0" |
@@ -70,3 +70,3 @@ # ngx-quill ![Build Status](https://github.com/KillerCodeMonkey/ngx-quill/workflows/CI/badge.svg) | ||
<td> | ||
>= 17.0.0 | ||
>= 17.0.0 < 20 | ||
</td> | ||
@@ -157,2 +157,19 @@ <td> | ||
Registering the global configuration can be also done using the standalone function if you are bootstrapping an Angular application using standalone features: | ||
```ts | ||
import { provideQuillConfig } from 'ngx-quill/config'; | ||
bootstrapApplication(AppComponent, { | ||
providers: [ | ||
provideQuillConfig({ | ||
modules: { | ||
syntax: true, | ||
toolbar: [...] | ||
} | ||
}) | ||
] | ||
}) | ||
``` | ||
If you want to use the `syntax` module follow the [Syntax Highlight Module Guide](https://quilljs.com/docs/modules/syntax/#syntax-highlighter-module). | ||
@@ -159,0 +176,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
38
485
447299
3562