@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.
12 lines (9 loc) • 412 B
TypeScript
import { FieldDataType, VisualBuilderEditContext } from './types/index.types.js';
import '../../cms/types/contentTypeSchema.types.js';
declare function enableInlineEditing({ expectedFieldData, editableElement, fieldType, elements, }: {
expectedFieldData: any;
editableElement: HTMLElement;
fieldType: FieldDataType;
elements: VisualBuilderEditContext;
}): void;
export { enableInlineEditing };