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 read-preset-or-throw.d.ts
Raw

dist/src/hooks/editor/utils/read-preset-or-throw.d.ts

import { EditorPreset } from '../typings';
/**
* Reads the hook configuration from the element's attribute and parses it as JSON.
*
* @param element - The HTML element that contains the hook configuration.
* @returns The parsed hook configuration.
*/
export declare function readPresetOrThrow(element: HTMLElement): EditorPreset;
//# sourceMappingURL=read-preset-or-throw.d.ts.map