@tinymce/tinymce-angular
Version:
Official TinyMCE Angular Component
21 lines (20 loc) • 1.19 kB
TypeScript
/**
* Copyright (c) 2017-present, Ephox, Inc.
*
* This source code is licensed under the Apache 2 license found in the
* LICENSE file in the root directory of this source tree.
*
*/
import { Subject } from 'rxjs';
import { EditorComponent } from '../editor/editor.component';
import { Editor } from 'tinymce';
declare const listenTinyMCEEvent: (editor: any, eventName: string, destroy$: Subject<void>) => import("rxjs").Observable<unknown>;
declare const bindHandlers: (ctx: EditorComponent, editor: any, destroy$: Subject<void>) => void;
declare const uuid: (prefix: string) => string;
declare const isTextarea: (element?: Element) => element is HTMLTextAreaElement;
declare const normalizePluginArray: (plugins?: string | string[]) => string[];
declare const mergePlugins: (initPlugins: string | string[], inputPlugins?: string | string[]) => string[];
declare const noop: (...args: any[]) => void;
declare const isNullOrUndefined: (value: any) => value is null | undefined;
declare const setMode: (editor: Editor, mode: "readonly" | "design") => void;
export { listenTinyMCEEvent, bindHandlers, uuid, isTextarea, normalizePluginArray, mergePlugins, noop, isNullOrUndefined, setMode };