UNPKG

@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) 556 B
import { FieldDataType, VisualBuilderEditContext } from './types/index.types.cjs'; import '../../cms/types/contentTypeSchema.types.cjs'; /** * 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 };