@instechnologies/ng-rooster
Version:
ng-rooster is wrapper to roosterjs, an open source library created by Microsoft: https://github.com/Microsoft/roosterjs.
15 lines (14 loc) • 507 B
TypeScript
import { ElementRef, OnInit } from '@angular/core';
import * as RoosterJs from 'roosterjs';
export declare class EditorDirective implements OnInit {
private el;
plugins?: RoosterJs.EditorPlugin[];
defaultFormat?: RoosterJs.DefaultFormat;
initialContent?: string;
disableRestoreSelectionOnFocus?: boolean;
omitContentEditableAttributeChanges?: boolean;
private _editor;
readonly editor: RoosterJs.Editor;
constructor(el: ElementRef);
ngOnInit(): void;
}