@kolkov/angular-editor 1.1.8 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -39,6 +39,7 @@ export declare class AngularEditorComponent implements OnInit, ControlValueAcces
39
39
  constructor(r: Renderer2, editorService: AngularEditorService, doc: any, sanitizer: DomSanitizer, cdRef: ChangeDetectorRef, defaultTabIndex: string, autoFocus: any);
40
40
  ngOnInit(): void;
41
41
  ngAfterViewInit(): void;
42
+ onPaste(event: ClipboardEvent): string;
42
43
  /**
43
44
  * Executed command from editor header buttons
44
45
  * @param command string from triggerCommand
package/lib/config.d.ts CHANGED
@@ -34,5 +34,6 @@ export interface AngularEditorConfig {
34
34
  toolbarPosition?: 'top' | 'bottom';
35
35
  outline?: boolean;
36
36
  toolbarHiddenButtons?: string[][];
37
+ rawPaste?: boolean;
37
38
  }
38
39
  export declare const angularEditorConfig: AngularEditorConfig;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kolkov/angular-editor",
3
- "version": "1.1.8",
3
+ "version": "1.2.0",
4
4
  "description": "A simple native WYSIWYG editor for Angular 8+, 12+. Rich Text editor component for Angular.",
5
5
  "author": "Andrey Kolkov <a.kolkov@gmail.com>",
6
6
  "repository": "https://github.com/kolkov/angular-editor",