Interface: IUiConfig
The basic structure for IConfiguration, defines the editor settings.
Extended by
Properties
defaultLanguage?
optionaldefaultLanguage?:string
A default interface language. The default value is "en". For details, see the Localization https://customerscanvas.com/dev/editors/iframe-api/customization/localization.html|Localization topic.
canvas?
optionalcanvas?:ICanvasConfig
A structure containing canvas settings.
grid?
optionalgrid?:IGridConfig
The grid configuration. For details, see the Grid https://customerscanvas.com/dev/editors/iframe-api/editor-configuration/rulers-grids-snaplines.html|Grid topic.
watermark?
optionalwatermark?:IWatermarkConfig
The watermark configuration.
alignToSafetyLineName?
optionalalignToSafetyLineName?:string
A name of a safety line to which an item will be aligned; if there is no safety line with the name, then the item will be aligned to the first safety line in the safety lines array. The default value is "bleed".
initialMode?
optionalinitialMode?:ModelModeType
The initial mode of the editor, either "Simple" or "Advanced". The default value is "Simple".
canvasOnlyMode?
optionalcanvasOnlyMode?:boolean
The edit mode allowing you to hide all interface elements but the canvas. The default value is false.
loadUserInfoButtonEnabled?
optionalloadUserInfoButtonEnabled?:boolean
Displays the Load my info button. The default value is false. For details, see the Populating designs with user info topic.
autoLoadUserInfo?
optionalautoLoadUserInfo?:boolean
If true, then a product is automatically populated with predefined data when it is loaded into the editor; the Load my info button is not displayed. The default value is false. For details, see the Populating designs with user info topic.
imageEditorEnabled?
optionalimageEditorEnabled?:boolean
Enables the Image Editor. The default value is true.
deleteItemConfirmationEnabled?
optionaldeleteItemConfirmationEnabled?:boolean
Enables the confirmation dialog when deleting an item from a product. The default value is false.
revertProductConfirmationEnabled?
optionalrevertProductConfirmationEnabled?:boolean
Enables the confirmation dialog when reverting a product to its initial state. The default value is true.
restoreProductOnReloadEnabled?
optionalrestoreProductOnReloadEnabled?:boolean
Enables restoring a product state when the design page is reloaded in the browser; if false, the product is reverted on reloading. The default value is false.
spellCheckEnabled?
optionalspellCheckEnabled?:boolean
Enables spell checking for product text fields and for the Rich text dialog. The default value is false.
variableItemsMaskSymbol?
optionalvariableItemsMaskSymbol?:string
A symbol marking design elements as variable items. By default, it is "%".
fontList?
optionalfontList?:string[] | {appFonts?:string[]; }
A list of fonts available for a user in the editor; all these fonts should be uploaded to the font folder on server, by default it is ~/Fonts/. For details, see the Font list topic.
fontListMode?
optionalfontListMode?:FontListModeType
A mode of the font list, either "Simple" or "Advanced". The simple mode allows a user to select font and set font size; the advanced mode also provides an ability to change font style. The default value is "Advanced".
defaultItemsConfig?
optionaldefaultItemsConfig?:IDefaultItemsConfig
The configuration of design elements being added to a product. For details, see the Toolbox https://customerscanvas.com/dev/editors/iframe-api/editor-configuration/toolbox.html|Toolbox topic.
widgets?
optionalwidgets?:IWidgetsConfig
The configuration of the editor widgets. For details, see the UI overview topic.
userInfo?
optionaluserInfo?:object
Data to populate the loaded product template with.
Index Signature
[key: string]: string | IBarcodeData
perSurfaceConfiguration?
optionalperSurfaceConfiguration?:IPerSurfaceConfiguration
A configuration of widgets, that is defined for separate surfaces.
productThemes?
optionalproductThemes?:object
A predefined set of color themes and text styles for the product.
Index Signature
[name: string]: IProductThemeConfig
defaultProductTheme?
optionaldefaultProductTheme?:string
Allows for specifying the default color theme.
assetSources?
optionalassetSources?:IAssetSources
Asset sources defined for the Asset Manager.
enableTrace?
optionalenableTrace?:boolean
themeConfiguration?
optionalthemeConfiguration?:IThemeConfiguration
Defines the primary theme color and a new image for the standard preloader.