devexpress-richedit
Version:
DevExpress Rich Text Editor is an advanced word-processing tool designed for working with rich text documents.
24 lines (23 loc) • 1.28 kB
TypeScript
import { ClientRichEdit } from '../../client-rich-edit';
import { NusaCustomContainerType, NusaCustomControlType } from './external-types';
export declare class RichEditsHolder {
private _registeredControlTypes;
private _registeredContainerTypes;
private _richEdits;
private getRichEditGlobalObject;
private getRichs;
private getRegisteredControlTypes;
private getRegisteredContainerTypes;
registerRichEdit(richEdit: ClientRichEdit): void;
unregisterRichEdit(richEdit: ClientRichEdit): void;
registerControlType(controlTypeName: string): void;
registerControlTypeObject(controlTypeName: string, object: NusaCustomControlType): void;
isControlTypeRegistered(controlTypeName: string): boolean;
getCustomControl(controlTypeName: string | null): null | NusaCustomControlType;
registerContainerType(containerTypeName: string): void;
registerContainerTypeObject(containerTypeName: string, object: NusaCustomContainerType): void;
isContainerTypeRegistered(containerTypeName: string): boolean;
getCustomContainer(containerTypeName: string | null): null | NusaCustomContainerType;
getRichEditByElement(element: HTMLElement): ClientRichEdit | null;
getFocusedRichEdit(): ClientRichEdit | null;
}