Current section
Files
Jump to
Current section
Files
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