UNPKG

@instechnologies/ng-rooster

Version:

ng-rooster is wrapper to roosterjs, an open source library created by Microsoft: https://github.com/Microsoft/roosterjs.

16 lines (15 loc) 553 B
import { EditorPlugin, Editor, PluginEvent, FormatState } from 'roosterjs'; import { Observable } from 'rxjs'; export declare class FormatStateObservable extends Observable<FormatState> implements EditorPlugin { private _subject; private _contentChangeSubject; private editor; getContentObservable(): Observable<string>; constructor(); initialize(editor: Editor): void; getName(): string; dispose(): void; onPluginEvent?(event: PluginEvent): void; private getContent; private getFormatState; }