@contentstack/live-preview-utils
Version:
Contentstack provides the Live Preview SDK to establish a communication channel between the various Contentstack SDKs and your website, transmitting live changes to the preview pane.
17 lines (14 loc) • 554 B
TypeScript
import { FieldDataType, VisualBuilderEditContext } from './types/index.types.js';
import '../../cms/types/contentTypeSchema.types.js';
/**
* Handles inline editing for supported fields.
*/
declare function handleInlineEditableField({ fieldType, fieldSchema, fieldMetadata, expectedFieldData, editableElement, elements, }: {
fieldType: FieldDataType;
fieldSchema: any;
fieldMetadata: any;
expectedFieldData: any;
editableElement: HTMLElement;
elements: VisualBuilderEditContext;
}): void;
export { handleInlineEditableField };