Current section

Files

Jump to
ckeditor5_phoenix dist test-utils editor create-context-html-element.d.ts
Raw

dist/test-utils/editor/create-context-html-element.d.ts

import { ContextConfig } from '../../src/hooks/context/typings';
type ContextCreatorAttrs = {
id?: string;
config?: ContextConfig;
language?: {
ui?: string;
content?: string;
};
hookAttrs?: Record<string, string>;
};
/**
* Creates a CKEditor Context HTML structure for testing.
*/
export declare function createContextHtmlElement({ id, config, language, hookAttrs, }?: ContextCreatorAttrs): HTMLDivElement;
export {};
//# sourceMappingURL=create-context-html-element.d.ts.map