diff --git a/projects/ngx-quill/src/lib/quill-editor.component.ts b/projects/ngx-quill/src/lib/quill-editor.component.ts index f567864d..dfaf1975 100644 --- a/projects/ngx-quill/src/lib/quill-editor.component.ts +++ b/projects/ngx-quill/src/lib/quill-editor.component.ts @@ -93,7 +93,7 @@ export abstract class QuillEditorBase implements AfterViewInit, ControlValueAcce readonly required = input(false) readonly formats = input(undefined) readonly customToolbarPosition = input<'top' | 'bottom'>('top') - readonly sanitize = input(false) + readonly sanitize = input(undefined) readonly beforeRender = input<() => Promise | undefined>(undefined) readonly styles = input(null) readonly registry = input( diff --git a/projects/ngx-quill/src/lib/quill-view-html.component.ts b/projects/ngx-quill/src/lib/quill-view-html.component.ts index cec70784..3beed1aa 100644 --- a/projects/ngx-quill/src/lib/quill-view-html.component.ts +++ b/projects/ngx-quill/src/lib/quill-view-html.component.ts @@ -31,7 +31,7 @@ import { NgClass } from '@angular/common' export class QuillViewHTMLComponent implements OnChanges { readonly content = input('') readonly theme = input(undefined) - readonly sanitize = input(false) + readonly sanitize = input(undefined) readonly innerHTML = signal('') readonly themeClass = signal('ql-snow') diff --git a/projects/ngx-quill/src/lib/quill-view.component.ts b/projects/ngx-quill/src/lib/quill-view.component.ts index 7c4e65db..9f283477 100644 --- a/projects/ngx-quill/src/lib/quill-view.component.ts +++ b/projects/ngx-quill/src/lib/quill-view.component.ts @@ -52,7 +52,7 @@ export class QuillViewComponent implements AfterViewInit, OnChanges, OnDestroy { readonly modules = input(undefined) readonly debug = input<'warn' | 'log' | 'error' | false>(false) readonly formats = input(undefined) - readonly sanitize = input(false) + readonly sanitize = input(undefined) readonly beforeRender = input<() => Promise | undefined>(undefined) readonly strict = input(true) readonly content = input()