Current section

Files

Jump to
ckeditor5_phoenix dist test-utils editor create-editor-preset.d.ts
Raw

dist/test-utils/editor/create-editor-preset.d.ts

import { EditorConfig, EditorType } from '../../src/hooks/editor/typings';
/**
* Creates a preset configuration for testing purposes.
*/
export declare function createEditorPreset(type?: EditorType, config?: Partial<EditorConfig>, customTranslations?: object): {
custom_translations?: {
dictionary: object;
};
type: "inline" | "classic" | "balloon" | "decoupled" | "multiroot";
config: {
[x: string]: any;
plugins: import('../../src/hooks/editor/typings').EditorPlugin[];
};
license: {
key: string;
};
};
//# sourceMappingURL=create-editor-preset.d.ts.map