Home > @uniformdev/canvas > UpdateContextualEditingStateInternalMessage
UpdateContextualEditingStateInternalMessage type
Signature:
type UpdateContextualEditingStateInternalMessage = {
type: 'update-contextual-editing-state-internal';
state: {
previewMode: 'editor' | 'preview';
selectedComponentReference?: {
id: string;
slotName?: string;
componentIndex?: number;
totalComponents?: number;
componentName?: string;
componentTitle?: string;
parentId?: string;
parentType?: string;
isLocalized?: boolean;
isReadOnly?: boolean | undefined;
};
};
};