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 query-all-editor-editables.d.ts
Raw

dist/src/hooks/editor/utils/query-all-editor-editables.d.ts

import { EditorId } from '../typings';
/**
* Queries all editable elements within a specific editor instance.
*
* @param editorId The ID of the editor to query.
* @returns An object mapping editable names to their corresponding elements and initial values.
*/
export declare function queryAllEditorEditables(editorId: EditorId): Record<string, EditableItem>;
/**
* Type representing an editable item within an editor.
*/
export type EditableItem = {
content: HTMLElement;
initialValue: string;
};
//# sourceMappingURL=query-all-editor-editables.d.ts.map