ngx-editor
Version:
Rich Text Editor for angular using ProseMirror
30 lines (29 loc) • 1.11 kB
TypeScript
import { ElementRef, OnDestroy, OnInit } from '@angular/core';
import { AbstractControl, FormGroup } from '@angular/forms';
import { NgxEditorService } from '../../../editor.service';
import { MenuService } from '../menu.service';
import * as i0 from "@angular/core";
export declare class ImageComponent implements OnInit, OnDestroy {
private el;
private ngxeService;
private menuService;
showPopup: boolean;
isActive: boolean;
private updateSubscription;
form: FormGroup;
private editorView;
constructor(el: ElementRef, ngxeService: NgxEditorService, menuService: MenuService);
get icon(): string;
get src(): AbstractControl;
onDocumentClick(e: MouseEvent): void;
getLabel(key: string): string;
private hideForm;
onMouseDown(e: MouseEvent): void;
private fillForm;
private update;
insertLink(e: MouseEvent): void;
ngOnInit(): void;
ngOnDestroy(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<ImageComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<ImageComponent, "ngx-image", never, {}, {}, never, never>;
}