Packages

CKEditor 5 integration for Phoenix Framework

Retired package: Renamed - Moved to ckeditor5-phoenix

Current section

Files

Jump to
ckeditor5 dist src hooks editor utils load-editor-constructor.d.ts
Raw

dist/src/hooks/editor/utils/load-editor-constructor.d.ts

import { EditorType } from '../typings';
/**
* Returns the constructor for the specified CKEditor5 editor type.
*
* @param type - The type of the editor to load.
* @returns A promise that resolves to the editor constructor.
*/
export declare function loadEditorConstructor(type: EditorType): Promise<typeof import('ckeditor5').InlineEditor | typeof import('ckeditor5').BalloonEditor | typeof import('ckeditor5').ClassicEditor | typeof import('ckeditor5').DecoupledEditor | typeof import('ckeditor5').MultiRootEditor>;
//# sourceMappingURL=load-editor-constructor.d.ts.map