Skip to main content

Editor config reference

This topic describes all the parameters that allows you to configure the Design Editor. These parameters are represented in the same way as they defined in the ~/Configuration/clientConfig.json file. For an alternative description, you can refer to the JS API reference.

note

The default measurement units in the Design Editor are points. If a parameter accepts other units, then the unit name is specified in the parameter name, for example, lineWidthPx accepts pixels. The unit shortcuts are px for pixels, pct for percents, etc.

Parameter names are case sensitive.

You can click a parameter name to get its description.

{
  "spellCheckEnabled": true,
  "initialMode": "Simple",
  "fontList": { "appFonts": ["*"] },
  "fontListMode": "Advanced",
  "assetSources": { ... },
  "defaultLanguage": "en",
  "loadUserInfoButtonEnabled": false,
  "autoLoadUserInfo": true,
  "createGroupsAs": "smart",
  "autoImageUploadModeEnabled": false,
  "revertProductConfirmationEnabled": true,
  "imageEditorEnabled": true,
  "deleteItemConfirmationEnabled": true,
  "restoreProductOnReloadEnabled": false,
  "alignToSafetyLineName": "bleed",
  "variableItemsMaskSymbol": "%",
  "canvasOnlyMode": false,
  "defaultProductTheme": "",
  "productThemes": null,
  "themeConfiguration": null,
  "canvas": {
      "color": "#fff",
      "shadowEnabled": false,
      "paddingPct": 5,
      "maskedPlaceholderUnderscoreEnabled": true,
      "suppressOutOfRegionManipulation": true,
      "violationWarningButtonsEnabled": true,
      "qualityChangeContainersEnabled": true,
      "floatingItemToolbarEnabled": true,
      "autoItemSelectionEnabled": true,
      "autoPlaceholderEditModeEnabled": false,
      "gridVisible": false,
      "safetyLinesVisible": true,
      "snapLinesVisible": true,
      "canvasItemHoverEnabled": false,
      "historySize": 10,
      "pinchZoomEnabled": true,
      "textEditor": "default",
      "curvedTextBaselineDrawStates": ["edit", "select", "hover", "move", "rotate", "resize"],
      "rotatedTextInPlaceEditEnabled": true,
      "inactiveContainerTransparencyEnabled": true,
      "inactiveContainerTransparencyLevel": 0.8,
      "scrollbarEnabled": false,
      "zoom": {
          "min": 0.01,
          "max": 16,
          "step": 0.25
      },
      "rulers": {
          "enabled": true,
          "unit": "inch",
          "customUnitScale": "1",
          "origin": "{ "X": 0, "Y": 0 }"
      },
      "rotation": {
          "type": "Rotate90"
      },
      "snapLines": {
          "items": {
              "enabled": true,
              "color": "rgb(255,0,255)",
              "tolerance": 5,
              "priority": 0,
              "includeLocked": false
          }
      },
      "printZone": {
          "bleed": {
              "color": "rgba(255,0,0,1)",
              "altColor": "rgba(255,0,0,0)",
              "step": 5,
              "width": 1
          }
      },
      "handlers": {
          "placeholderEditingViewMode": "overlay",
          "placeholderCropMode": true,
          "placeholderFitMode": "Always",
          "imageMinDpi": "",
          "resizeLimits": {
              "common": { "width": null, "height": null}
          }
      },
      "listSettings": {
          "maxLevel": 3,
          "firstLineIndent": -20,
          "listIndent": 30,
          "levelIndent": 40,
          "tabOffset": 10,
          "numberingFormat": "number",
          "bulletChar": "•"
      }
  },
  "defaultItemsConfig": {
      "barcode": null,
      "ellipse": null,
      "image": null,
      "line": null,
      "placeholder": null,
      "rectangle": null,
      "richText": null,
      "shape": null,
      "text": null,
      "group": null,
      "clipart": null
  },
  "grid": {
      "enabled": true,
      "horizontalColor": "rgba(0, 255, 255, 0.2)",
      "verticalColor": "rgba(0, 255, 255, 0.2)",
      "stepX": 0.25,
      "stepY": 0.25,
      "lineWidthPx": 1
  },
  "rendering": {
      "hiResOutputDpi": 300,
      "hiResOutputFileFormat": "pdf",
      "hiResOutputColorSpace": "cmyk",
      "hiResOutputRgbColorProfileName": "",
      "hiResOutputCmykColorProfileName": "",
      "hiResOutputGrayscaleColorProfileName": "",
      "hiResOutputToSeparateFiles": false,
      "hiResOutputChannelContainersToSeparateFiles": false,
      "hiResOutputChannelContainersRenderEmptyPage": true,
      "hiResOutputBackgroundColor": "rgba(255,255,255,0)",
      "hiResOutputCompression": "jpeg",
      "hiResOutputJpegCompressionQuality": 90,
      "hiResOutputFlipMode": "none",
      "hiResOutputRotateMode": "none",
      "hiResOutputPdfMetadata": {
          "author": "",
          "creator": "",
          "keywords": "",
          "subject": "",
          "title": ""
      },
      "hiResOutputInStringPlaceholderHintsEnabled": false,
      "hiResOutputPdfFormat": "Default",
      "hiResOutputDestinationColorProfileName": "",
      "proofImageFileFormat": "jpeg",
      "proofImageRgbColorProfileName": "",
      "proofImageCropSafetyLine": "",
      "proofImageSafetyLinesEnabled": true,
      "proofImageSpineAndFoldingLinesEnabled": true,
      "proofImageFlipMode": "none",
      "proofImageMockupEnabled": true,
      "proofImageShowStubContent": false,
      "proofImageInterpolationMode": null,
      "proofImageRotateMode": "none",
      "proofImageInStringPlaceholderHintsEnabled": false
  },
  "violationWarningsSettings": {
      "regionViolationWarningEnabled": true,
      "safetyLineViolationWarningEnabled": true,
      "textCropViolationWarningEnabled": true,
      "shapeViolationsEnabled": true,
      "inPlaceNotSupportedWarningEnabled": false,
      "tolerance": 0.001,
      "safetyLines": {
          "enabled": true,
          "mode": "PartiallyInsideAny"
      },
      "qualityMeter": {
          "enabled": true,
          "qualityLevels": {
              "warning": 100,
              "bad": 50
          }
      }
  },
  "watermark": {
      "text": {
          "text": "watermark",
          "fontSettings": {
              "postScriptName": "Roboto-Regular",
              "size": 35,
              "fauxBold": false,
              "fauxItalic": false
          },
          "scale": 0.28,
          "opacity": 0.1
      },
      "image": {
          "name": "watermark.png",
          "repeat": false,
          "opacity": 0.4
      },
      "visibility": {
          "proof": false,
          "canvas": false
      }
  },
  "imageResizeRequestConfig": {
      "defaultRequestRatio": 0.5,
      "rules": [ {
              "minOriginalArea": 0,
              "maxOriginalArea": 1000000,
              "requestRatio": 0.25
          } ]
  },
  "widgets": {
      "common": {
          "textFormattingEnabled": true,
          "fontSize": {
              "max": 1296,
              "min": 4,
              "step": 10
          },
          "tracking": {
              "max": 300,
              "min": -300,
              "step": 25
          },
          "leading": {
              "max": 1296,
              "min": 6,
              "step": 10
          }
      },
      "Toolbox": {
          "enabled": true,
          "buttons": [...],
          "containerToolboxes": [...],
          "insertOnTop": false
      },
      "AssetManager": {
          "defaultTabName": "",
          "enabledBackgroundChange": true,
          "maxUploadFileSize": null,
          "saveAllowedTabAfterInsert": false,
          "tabs": [...]
      },
      "ObjectInspector": {
          "bgItemEnabled": true,
          "dndEnabled": true,
          "violationWarningsEnabled": true,
          "variableItemsEnabled": false,
          "emptyListTextEnabled": true,
          "position": "Right",
          "aboveCanvasOnSmallScreenEnabled": true,
          "isHidden": false,
          "toggleEnabled": false,
          "inStringPlaceholderMode": "Multiple",
          "showItemName": false,
          "groupRenameEnabled": true,
          "groupsExpandedByDefault": false,
          "expandNestedGroups": false,
          "containerTabsEnabled": true
      },
      "ItemMenu": {
          "objectManipulationEnabled": true,
          "verticalAlignmentEnabled": true,
          "horizontalAlignmentEnabled": true,
          "changeZOrderEnabled": true,
          "renameEnabled": false,
          "groupItemsEnabled": true,
          "cloneItemsEnabled": true
      },
      "TopToolbar": {
          "alignButtonsEnabled": true,
          "displayAlignButtonsAsDropdown": true,
          "displayCaptionInButtons": false,
          "historyButtonsEnabled": true,
          "deleteButtonEnabled": false,
          "revertButtonEnabled": true,
          "layoutItemSettingsButtonEnabled": true,
          "displayZOrderButtonsAsDropdown": true,
          "cloneButtonEnabled": false,
          "groupButtonEnabled": true,
          "editTextButtonEnabled": false,
          "textVAlignmentButtonsEnabled": true,
          "textAlignmentButtonsEnabled": true,
          "textAllowChangeColumnCount": true,
          "textEmphasisButtonsEnabled": true,
          "textFontFamilyButtonEnabled": true,
          "textFontStyleButtonEnabled": true,
          "textFontSizeButtonEnabled": true,
          "textFontColorButtonEnabled": true,
          "textListButtonsEnabled": true,
          "textParagraphButtonEnabled": true,
          "textBendButtonEnabled": true,
          "textShadowButtonEnabled": true,
          "textStrokeButtonEnabled": true,
          "textStrokeColorButtonEnabled": true,
          "closeFontMenuOnClickEnabled": true,
          "opacitySliderEnabled": true,
          "textLeadingButtonEnabled": true,
          "textTrackingButtonEnabled": true,
          "multiRowModeEnabled": false,
          "borderColorButtonEnabled": true,
          "borderWidthButtonEnabled": true,
          "overlayColorButtonEnabled": false,
          "imageEditButtonEnabled": true,
          "imageSelectButtonEnabled": true,
          "placeholderEditButtonEnabled": true,
          "placeholderSelectButtonEnabled": true,
          "placeholderScaleButtonEnabled": true,
          "placeholderResetContentButtonEnabled": true,
          "changeBarcodeTypeButtonEnabled": true,
          "barcodeColorButtonEnabled": true,
          "barcodeCaptionButtonEnabled": false,
          "placeInSafetyAreaButtonEnabled": true,
          "fontPreviewSize": 17,
          "textStroke": { "max": 5, "min": 0.01, "step": 0.01 },
          "textShadow": {
              "angle": { "max": 360, "min": 0, "step": 15 },
              "distance": { "max": null, "min": 0, "step": 0.1 },
              "size": { "max": null, "min": 0, "step": 0.1 }
          },
          "fontSize": {
              "max": 100,
              "min": 4,
              "step": 0.5
          },
          "zOrder": {
              "zOrderLevelButtonsEnabled": true,
              "zOrderSendToButtonsEnabled": true
          }
      },
      "BottomToolbar": {
          "safetyLinesCheckboxEnabled": true,
          "gridCheckboxEnabled": true,
          "previewModeCheckboxEnabled": true,
          "snapLinesItemsCheckboxEnabled": true,
          "snapLinesPrintAreaCheckboxEnabled": true,
          "snapLinesSafetyLinesCheckboxEnabled": true,
          "snapLinesInteractiveZonesCheckboxEnabled": true,
          "zoomValueEnabled": true,
          "zoomButtonsEnabled": true,
          "rotateButtonEnabled": true,
          "fullWindowButtonEnabled": false,
          "fullScreenButtonEnabled": true,
          "surfaceSwitch": {
              "enabled": true,
              "showThumbnails": false,
              "showSurfaceNames": true,
              "scrollPageButtonsEnabled": true,
              "toggleSurfaceButtonsEnabled": false,
              "firstAndLastButtonsEnabled": true,
              "specificForSurfaceCount": { }
          }
      },
      "QrCodeDialog": {
          "defaultType": "QrUrl",
          "tabs": ["QrVCard", "QrUrl", "QrPhone", "QrData"]
      },
      "LinearBarcodeDialog": {
          "defaultType": "LinearEan8",
          "autoChecksum": false
      },
      "RichTextDialog": {
          "applyToAllTextMode": false,
          "bgColor": "white",
          "createMultiColumnText": false,
          "showHint": {"font": true, "style": true, ...},
          "showInput": {
              "size": true
          },
          "ckeditorConfig": {
              "specialChars": <![CDATA[["!", "&quot;", "#", "$", "%", "&amp;", ...]]]>
          },
          "textOutline": {
              "enabled": false,
              "hueThreshold": 74,
              "brightnessThreshold": 5,
              "color": "rgba(0, 0, 0, 0.2)"
          },
          "zoom": {
              "enabled": false,
              "minZoomPct": 10,
              "maxZoomPct": 500,
              "autoZoom": {
                  "enabled": false,
                  "minFontSizeThresholdPt": 12,
                  "maxFontSizeThresholdPt": 36
              }
          }
      },
      "FinishButton": {
          "mode": "Disabled"
      },
      "ImageEditorDialog": {
          "colorAdjustButtonEnabled": true,
          "cropButtonEnabled": true,
          "backgroundEraseButtonEnabled": true,
          "fullscreenOnTouchDevice": true,
          "imageContextMenuEnabled": true
      },
      "ColorPicker": {
          "showPaletteOnly": false,
          "sectionCollapseEnabled": false,
          "colorTypeDropdownEnabled": true,
          "eyeDropperEnabled": true,
          "defaultColorType": "cmyk",
          "availableColorTypes": ["cmyk", "rgb", "hex"],
          "paletteHintsEnabled": true,
          "cmykDecimalsEnabled": false,
          "colorSpace": "cmyk",
          "colorSpaceDropdownEnabled": true,
		"sections": [{
              "type": "PaletteSection",
              "translationKey": "Default",
              "viewType": "Block",
              "targets": ["All"],
              "palette": [["cmyk(0%,100%,100%,0%,100%)","cmyk(0%,0%,100%,0%,100%)",...],...]
          }]
      }
  }
}

Common Parameters

NameDescriptionPossible values
spellCheckEnabledEnables spell checking for product text fields and for the Rich text dialog. The value in the config is true.boolean
initialModeThe initial mode of the web-to-print editor, simple or advanced. If you want to disable the advanced mode, set this parameter to "SimpleOnly". The value in the config is "Simple"."Simple", "Advanced", "SimpleOnly"
fontListA list of fonts available for the user in the editor. All these fonts should be uploaded to the font folder on the server; by default it is ../assets/fonts/. If not specified, the Design Editor enables all the fonts from this folder. The value in the config is &#123; "appFonts": ["*"] &#125;.array of font names
fontListModeA mode of the font list, simple or advanced. The simple mode allows users to select a font and set a font size. The advanced mode also provides the ability to change the font style. The value in the config is "Advanced"."Simple", "Advanced"
assetSourcesConfiguration of asset sources available in the Asset Manager. By default, only the private user gallery is defined. For config examples, you can refer to the image-manager topic.object
defaultLanguageThe default interface language. The value in the config is "en".string
loadUserInfoButtonEnabledDisplays the Load my info button. The value in the config is false.boolean
autoLoadUserInfoIf true, the product is automatically populated with predefined data when it is loaded into the editor; the Load my info button is not displayed in this case. The value in the config is true.boolean
createGroupsAsEnables either the "smart" or "base" type for new groups of design elements. So-called smart groups support the auto layout. Your users can change the group type and its properties by using the Smart group button. The value in the config is "smart"."smart", "base"
autoImageUploadModeEnabledIf true, opens a dialog box for selecting a private image to insert it into the placeholder. If false, the Asset Manager opens for selection. The value in the config is false.boolean
revertProductConfirmationEnabledEnables the confirmation dialog when reverting a product to its initial state. The value in the config is true.boolean
imageEditorEnabledEnables the Image Editor. The value in the config is true.boolean
deleteItemConfirmationEnabledEnables the confirmation dialog when deleting an item from a product. The value in the config is true.boolean
restoreProductOnReloadEnabledEnables restoring a product state when the design page is reloaded in the browser. If false, the product is reverted on reloading. The value in the config is false.boolean
alignToSafetyLineNameThe name of a safety line to which an item will be aligned. If there is no safety line with a name, then the item will be aligned to the first safety line in the safety lines array. The value in the config is "bleed".string
variableItemsMaskSymbolA symbol marking design elements as variable items. By default, it is "%".string
canvasOnlyModeHides all interface elements and displays only the canvas in the editor. The value in the config is false.boolean
defaultProductThemeThe name of the default color theme. For an example, you can refer to the change-theme topic.string
productThemesThe color sets containing the color name - color value pairs. You can define as many themes as you need. For an example, you can refer to the change-theme topic.object
themeConfigurationProperties that redefine the appearance of the UI theme. In the current implementation, you can change the primary theme color and set a new image for the standard preloader. For an example, you can refer to the IThemeConfiguration topic.object

Canvas

Object: canvas

NameDescriptionPossible values
colorThe canvas color. This color is visible if a transparent object is placed on the canvas. The value in the config is "#fff".color in css-compatible format
shadowEnabledEnables the canvas shadow. The value in the config is false.boolean
paddingPctPadding between the canvas and the canvas viewer, in percent. The value in the config is 5.integer
maskedPlaceholderUnderscoreEnabledEnables displaying underscores in blank masked text layers. If false and the user has partially filled the text placeholder in, then the rest blank symbols are displayed as spaces. If true, the blank portion displays underscores. The value in the config is true.boolean
suppressOutOfRegionManipulationDisallows the user to drag elements out of the region on the canvas. If true, your users cannot manipulate items out of regions. The value in the config is true.boolean
violationWarningButtonsEnabledEnables preflight warnings on the canvas. If true, notifying icons appear on low-resolution images, safety line violation, region violation, and text clipping. The value in the config is true.boolean
qualityChangeContainersEnabledEnables the DPI bar when resizing images. This bar displays the actual DPI of images and the resolution specified in the hiResOutputDpi property. The value in the config is true.boolean
floatingItemToolbarEnabledEnables the Floating Item Toolbar with the Select Image, Edit and Delete buttons right on the canvas. The value in the config is true.boolean
autoItemSelectionEnabledAllows you to automatically select the first design element in the simple and advanced editing modes. If an element is selected, you can switch between elements using Tab and Shift+Tab. The value in the config is true.boolean
autoPlaceholderEditModeEnabledAllows your users to work with the content of image placeholders by clicking a placeholder in either simple or advanced edit mode. If true, the Handle does not appear. The value in the config is false.boolean
gridVisibleDisplays the grid when the canvas opens. The value in the config is false.boolean
safetyLinesVisibleDisplays safety lines when the canvas opens. The value in the config is true.boolean
snapLinesVisibleDisplays snap lines when the canvas opens. The value in the config is true.boolean
canvasItemHoverEnabledEnables text labels for editable design elements. The value in the config is false.boolean
historySizeThe number of actions that can be reverted by using the Undo button. The value in the config is 10. Recommended to specify a value less than 100.number
pinchZoomEnabledAllows users to zoom the canvas using the pinch gesture on mobile devices. The value in the config is true.boolean
textEditorSpecifies the text editor mode when the WYSIWYG editor is active. "default" (platform dependent), "html" (allows IME), "none" (Classic and Rich text editor)."default", "html", "none"
curvedTextBaselineDrawStatesSpecifies an array of states in which the path of curved text will be displayed. The value in the config is ["edit", "select", "hover", "move", "rotate", "resize"].array of "idle", "edit", "select", "hover", "move", "resize", "rotate"
rotatedTextInPlaceEditEnabledIf true, text in rotated and arched elements is edited on the canvas. If false, enables editing in popup boxes. The default value is true.boolean
inactiveContainerTransparencyEnabledIf true, displays the content of spot containers transparent. The default value is true. See Post Press Finishing.boolean
inactiveContainerTransparencyLevelDefines transparency for inactive containers in range [0, 1]. 0 is opaque, 1 is 100% transparent. The value in the config is 0.8. See Post Press Finishing.number
scrollbarEnabledEnables scrollbars when the design does not fit the canvas at the current zoom level. The default value is false.boolean

Canvas Zoom

Object: canvas.zoom

NameDescriptionPossible values
minThe minimum zoom of the canvas. The value in the config is 0.01.number
maxThe maximum zoom of the canvas. The value in the config is 16.number
stepThe step of increasing or decreasing the zoom level of the canvas. The value in the config is 0.25.number

Rulers

Object: canvas.rulers

NameDescriptionPossible values
enabledDisplays the canvas rulers. The value in the config is true.boolean
unitThe measurement unit of the rulers. The value in the config is "inch"."inch", "mm", "cm", "point", "custom"
customUnitScaleThe ratio of the custom unit to points. Applied only if the unit parameter is set to "custom". The value in the config is 1.number
originThe point of origin relative to the upper-left corner of the design. The value in the config is &#123; "X": 0, "Y": 0 &#125;.object

Canvas Rotation

Object: canvas.rotation

NameDescriptionPossible values
typeThe angle to which the canvas is rotated when clicking the Rotate button in the Bottom Toolbar. The value in the config is "Rotate90"."Rotate90", "Rotate180", "Rotate270"

Snap Lines

Object: canvas.snapLines

The snap line type

Objects: items, printArea, safetyLines, region, grid

NameDescriptionPossible values
enabledDisplays snap lines of this type. The value in the config is true.boolean
colorThe color of snap lines of this type. The value in the config is "rgb(255,0,255)".string
toleranceThe distance between an object and a snap line where the object clings to the line, in pixels. The value in the config is 5.number
priorityThe priority of these snap lines. In the case of overlapping tolerance zones, the highest priority line is displayed. The higher the value, the higher the priority. Default: 0.number
includeLockedWhen aligning to items, specifies whether to align to locked items. The value in the config is false.boolean

Bleed and Trim Lines

Object: canvas.printZone

NameDescriptionPossible values
Marking type
objects: bleed, trim, or region
colorThe main color of lines. The value in the config is "rgb(255,0,0)".color in css-compatible format
altColorThe alternative color. The value in the config is "rgba(255,0,0,0)".color in css-compatible format
stepThe step of dashed lines, in pixels. The value in the config is 5.number
widthThe width of dashed lines, in pixels. The value in the config is 1.number
visibleIf true, displays lines denoting the bleed zone, trim lines, or region, correspondingly. The value in the config is true for bleed and trim and false for region.boolean

Item processing rules

Object: canvas.handlers

NameDescriptionPossible values
placeholderEditingViewModeDefines how the product will appear on the canvas when editing image placeholders. If "normal", the content that is outside its image placeholder appears transparent when the placeholder is in the edit mode. The "overlay" mode moves the placeholder content to the highest z-order and fades out the area outside this content when entering the edit mode. The value in the config is "overlay"."overlay", "normal"
placeholderCropModeEnables Adobe Express-like cropping mode for placeholders, allowing intuitive scaling and cropping via grip handles. The default value is true.boolean
placeholderFitModeControls the behavior of placeholder resizing since version 7.1.55. If set to "Always", the fit position is preserved regardless of resizing (new behavior in 7.1.55). If set to "Insert", the legacy behavior (pre-7.1.55) is restored, where the fit position may change when resizing. The default value is "Always"."Always", "Insert"
imageMinDpiThe minimum allowable DPI value that can be achieved when resizing images. By default, this limit is not set.number
Limit on the minimum item size
object: canvas.handlers.resizeLimits
commonDefines the smallest size, in points, to which items on the canvas can be downsized. You can limit either width, height, or both: {"width":100, "height":50}. The "common" size limit is applicable to all items. In the same way, you can define the limitation separately to "image", "shape", "barcode", "text", "archedText", "rectangle", "ellipse", and "placeholder". Note that these limits only apply to user manipulations on the canvas and do not affect the use of APIs. By default, this limit is not set.object

Text Lists

Object: canvas.listSettings

NameDescriptionPossible values
maxLevelThe maximum number of levels in multilevel lists. The value in the config is 3.number
firstLineIndentThe distance between the bullet and text in the first line of a list item, in points. The value in the config is -20.number
listIndentThe distance between the left edge of the text element and the leftmost line of list items in this text element, in points. The value in the config is 30.number
levelIndentThe offset of each next level of the list relative to the previous level, in points. The value in the config is 40.number
tabOffsetThe offset that will appear before text on the first line if this text may overlap the bullet, in points. If this value is not enough to create an indent, it will be added again. The value in the config is 10.number
numberingFormatThe numbered list marker format. If "none", then list items will represent paragraphs without numbers. This marker format will be used when creating lists through the Top toolbar. The value in the config is "number"."none", "number", "lowerLetter", "upperLetter", "lowerRoman", "upperRoman"
bulletCharThe bulleted list marker that will be used when creating lists through the Top toolbar. The value in the config is "•".symbol

Default Item Parameters

Object: defaultItemsConfig

NameDescriptionPossible values
barcodeDefault parameters of barcodes, which users add to the canvas. For an example, refer to the IBarcodeItemData topic.object
ellipseDefault parameters of ellipses, which users add to the canvas. For an example, refer to the IEllipseItemData topic.object
imageDefault parameters of images, which users add to the canvas. For an example, refer to the IImageItemData topic.object
lineDefault parameters of lines, which users add to the canvas. For an example, refer to the ILineItemData topic.object
placeholderDefault parameters of placeholders, which users add to the canvas. For an example, refer to the IPlaceholderItemData topic.object
rectangleDefault parameters of rectangles, which users add to the canvas. For an example, refer to the IRectangleItemData topic.object
richTextDefault parameters of rich formatted texts, which users add to the canvas. For an example, refer to the IBoundedTextItemData topic.object
shapeDefault parameters of shapes, which users add to the canvas. For an example, refer to the IShapeItemData topic.object
textDefault parameters of texts, which users add to the canvas. For an example, refer to the ITextItemData topic.object
groupDefault parameters of SVG, PDF, and PSD assets loaded to the canvas in the group mode. For an example, refer to the IGroupItemData topic.object
clipartDefault parameters of SVG, PDF, and PSD assets loaded to the canvas in the clipart mode. For an example, refer to the IClipartItemData topic. When this object is not defined, the group properties will be applied to clipart.object

Grid

Object: grid

NameDescriptionPossible values
enabledEnables the grid. If the grid is enabled it can be toggled by the Grid button. The value in the config is true.boolean
horizontalColorThe color of the horizontal grid lines. The value in the config is "rgba(0, 255, 255, 0.2)".color in css-compatible format
verticalColorThe color of the vertical grid lines. The value in the config is "rgba(0, 255, 255, 0.2)".color in css-compatible format
stepXThe distance between vertical grid lines, in the ruler units. The value in the config is 0.25 in.integer
stepYThe distance between horizontal grid lines, in the ruler units. The value in the config is 0.25 in.integer
lineWidthPxThe width of grid lines in pixels. The value in the config is 1.integer

Rendering

Object: rendering

NameDescriptionPossible values
hiResOutputDpiHi-res output resolution in dots per inch (DPI). The value in the config is 300.integer
hiResOutputFileFormatThe type of the hi-res output. The value in the config is "pdf"."pdf", "jpeg", "png", "tiff"
hiResOutputColorSpaceThe color space of the hi-res output. The value in the config is "cmyk"."rgb", "cmyk", "grayscale"
hiResOutputRgbColorProfileNameThe name of an RGB color profile for hi-res outputs. By default, the editor uses the sRGB IEC61966-2.1 profile to render hi-res outputs in RGB.string
hiResOutputCmykColorProfileNameThe name of a CMYK color profile for hi-res outputs. By default, the editor uses the SWOP (Coated) 20%, GCR, Medium profile to render hi-res outputs in CMYK.string
hiResOutputGrayscaleColorProfileNameThe name of a color profile for grayscale outputs. By default, the editor uses the Dot Gain 30% profile to render hi-res outputs in grayscale.string
hiResOutputToSeparateFilesIf true, the hi-res output for each page of a multipage product is put in a separate file. The value in the config is false.boolean
hiResOutputChannelContainersToSeparateFilesRenders spot colors and textures to separate PDF files. The value in the config is false.boolean
hiResOutputChannelContainersRenderEmptyPageAdds empty pages to PDF files when the corresponding pages of the base design have neither spot colors nor textures. The value in the config is true.boolean
hiResOutputBackgroundColorThe background color for the hi-res output. The value in the config is "rgba(255,255,255,0)".color in css-compatible format
hiResOutputCompressionThe type of hi-res output compression. "jpeg" and "zip" are supported for PDF files only, whereas "lzw" is supported for TIFF files. The value in the config is "jpeg"."jpeg", "zip", "none", "lzw"
hiResOutputJpegCompressionQualityJPEG compression quality in percent. This parameter makes sense only for the JPEG and PDF formats. For PDF outputs, set hiResOutputCompression to "jpeg". The value in the config is 90.integer from 0 to 100.
hiResOutputFlipModeFlips hi-res outputs. The value in the config is "none"."none", "vertical", "horizontal", "both"
hiResOutputRotateModeRotates hi-res outputs to the specified angle clockwise. By default, the Design Editor does not rotate the original design, and this value is "none"."none", "rotate90", "rotate180", "rotate270"
hiResOutputInStringPlaceholderHintsEnabledDisplays hints for unfilled in-string placeholders in hi-res outputs. The value in the config is false.boolean
hiResOutputPdfFormatIf "X4", enables DeviceCMYK and does not embed any color profile into the resulting PDF file in the PDF/X-4 standard. By default, print files are generated in PDF 1.4."Default", "X4"
hiResOutputDestinationColorProfileNameDefines the color profile name to preview CMYK colors on the canvas. To enable this preview mode, the AutoTargetDevicePreviewMode param must be True or not included in AppSettings.config. By default, the preview mode is enabled and uses the default destination profile.string
proofImageFileFormatThe type of proof image files. The value in the config is "jpeg"."jpeg", "png"
proofImageRgbColorProfileNameThe name of an RGB color profile for proof images. By default, the editor uses the sRGB IEC61966-2.1 profile to render proof images.string
proofImageCropSafetyLineThe name of a safety line, which proof images are cropped to. If there is no safety line with the given name, proof images are not cropped. By default, proof images appear uncropped.string
proofImageSafetyLinesEnabledDisplays safety lines on proof images. The value in the config is true.boolean
proofImageSpineAndFoldingLinesEnabledDisplays spines and folding lines on proof images. The value in the config is true.boolean
proofImageFlipModeThe flip mode for proof images. The value in the config is "none"."none", "vertical", "horizontal", "both"
proofImageMockupEnabledDisplays mockups on proof images. If it is true, then the editor renders a mockup with a print area. If it is false, then the editor renders only print areas to proof images. The value in the config is true.boolean
proofImageShowStubContentEnables the stub images and text hints in unfilled placeholders. The value in the config is false.boolean
proofImageInterpolationModeAn interpolation algorithm used for resizing proof images. You can find the list of supported algorithms in the specification of the Aurigma Graphics Mill library. For example, you can use "Lanczos", "NearestNeighbour", and others. By default, no interpolation algorithms are applied to resize proof images.string
proofImageRotateModeRotates proof images to the specified angle clockwise. If "auto"
proofImageRotateModeRotates proof images to the specified angle clockwise. If "auto", rotates proof images at the same angle that the canvas is rotated. By default, the Design Editor does not rotate the original design, and this value is "none"."none", "auto", "rotate90", "rotate180", "rotate270"
proofImageInStringPlaceholderHintsEnabledDisplays hints for unfilled in-string placeholders on proof images. The value in the config is false.boolean

PDF metadata

Object: rendering.hiResOutputPdfMetadata

NameDescriptionPossible values
authorThe author of the PDF document.string
creatorThe creator of the PDF document.string
keywordsKeywords of the PDF document.string
subjectThe subject of the PDF document.string
titleThe title of the PDF document.string

Preflight Warnings

Object: violationWarningsSettings

NameDescriptionPossible values
regionViolationWarningEnabledEnables a warning displayed if an item goes out of a region. The value in the config is true.boolean
safetyLineViolationWarningEnabledOutdated. Instead, define the safetyLines object with the "InsideAll" mode. Enables a warning displayed if an item crosses a safety line. The value in the config is true.boolean
textCropViolationWarningEnabledEnables a warning displayed if the text is too long for the bounding rectangle, and some strings are clipped. The value in the config is true.boolean
shapeViolationsEnabledEnables a warning displayed if the Asset Manager can import PDF and SVG vector graphics only with losses. The value in the config is true.boolean
toleranceThe distance, in points, within which no warnings about violations of safety lines or the bleed zone will be displayed. The value in the config is 0.001.number
inPlaceNotSupportedWarningEnabledEnables warnings displayed when text elements have properties that are not supported in the WYSIWYG text engine and when the Classic text engine will render this text. The value in the config is false.boolean

Safety lines

Object: violationWarningsSettings.safetyLines

NameDescriptionPossible values
enabledEnables the bleed zone validation. The value in the config is true.boolean
modeIf InsideAll, a warning does not appear if the element is inside all safety lines. If PartiallyInsideAny, a warning does not appear if at least one safety zone contains the element. If InsideAny, a warning does not appear if at least one safety zone contains the element, and no safety lines intersect the element. The value in the config is "PartiallyInsideAny"."InsideAll", "PartiallyInsideAny", "InsideAny"

Quality meter

Object: violationWarningsSettings.qualityMeter

NameDescriptionPossible values
enabledEnables the quality meter and low DPI warnings. The value in the config is true.boolean
Image quality levelsobject: violationWarningsSettings.qualityMeter.qualityLevels
warningThe warning image quality level, comparing to the hi-res output DPI, in percent. This value should be greater than or equal to the bad value. The default is 100.number
badThe bad image quality level, comparing to the hi-res output DPI, in percent. This value should be less than or equal to the warning value. The default is 50.number

Watermark

Object: watermark

Text Parameters

Object: watermark.text

NameDescriptionPossible values
textWatermark text to display. The default text is "watermark".string
scaleThe font size scale. This parameter specifies how much space the watermark text will occupy relative to the product size. The value in the config is 0.28.number
opacityThe opacity of the watermark text. The value in the config is 0.1.number
Font parametersobject: watermark.text.fontSettings
postScriptNameThe watermark font name. The value in the config is "Roboto-Regular".string
sizeThe font size of the watermark text. The value in the config is 35.number
fauxBoldApplies the faux bold effect to the watermark. The value in the config is false.boolean
fauxItalicApplies the faux italic effect to the watermark. The value in the config is false.boolean

Image Parameters

Object: watermark.image

NameDescriptionPossible values
nameThe filename of the watermark image. This file should be uploaded to the ../assets/helpers/ folder on the server. By default, the Design Editor displays watermark.png.string
repeatIf false, displays the watermark image in the center of the canvas or proof images. If true, repeats the image. The value in the config is false.boolean
opacityThe opacity of the watermark image. The value in the config is 0.4.number

Watermark Visibility

Object: watermark.visibility

NameDescriptionPossible values
proofDisplays the watermark on proof images. The value in the config is false.boolean
canvasDisplays the watermark on the canvas. The value in the config is false.boolean

Image Resize Requests

Object: imageResizeRequestConfig

NameDescriptionPossible Values
defaultRequestRatioImage size increase ratio to request a new image. The value in the config is 0.5.number
rulesList of rules for image resize requests.array

Image Resize Rules

Object: imageResizeRequestRule

NameDescriptionPossible Values
minOriginalAreaMinimum original image area in points (width * height) for this rule to apply. The default value is 0.number
maxOriginalAreaMaximum original image area in points (width * height) for this rule to apply. The value in the config is 1000000.number
requestRatioImage size increase ratio to request a new image for this rule. The value in the config is 0.25.number

Widgets

Object: widgets

Common Text Parameters

Object: widgets.common

NameDescriptionPossible values
textFormattingEnabledIf true, the top toolbar displays the buttons for changing layer properties, and when the user double-clicks a text layer and enters the editing mode, it allows for changing the rich text format on the canvas or Rich Text editor. If false, the top toolbar displays buttons for both changing the layer properties and editing the text, and the user can edit text on the canvas and Object Inspector. The <TATF> marker overrides this behavior for a single text layer, however, <TATF_null> will use the value of this parameter. The value in the config is true.boolean
Font size parametersobject: widgets.common.fontSize
maxThe maximum font size. This value is used in the Rich Text dialog. Also, if you do not define font size box parameters for the Top Toolbar, then this value is applied to point text.number
minThe minimum font size used in the Rich Text dialog. Also, if you do not define font size box parameters for the Top Toolbar then this value is applied to point text.number
stepThe step to change the font size in the Rich Text dialog.number
Tracking parametersobject: widgets.common.tracking
maxThe maximum tracking value. The value in the config is 300.number
minThe minimum tracking value. The value in the config is -300.number
stepThe step to change the tracking value. The value in the config is 25.number
Leading parametersobject: widgets.common.leading
maxThe maximum leading value. The value in the config is 1296.number
minThe minimum leading value. The value in the config is 6.number
stepThe step to change the leading value. The value in the config is 10.number

Toolbox

Object: widgets.Toolbox

NameDescriptionPossible values
enabledDisplays the Toolbox. The value in the config is true.boolean
buttonsConfigures the Toolbox buttons. By default, the Design Editor enables the following buttons in the Toolbox: "Text", "RichText", "Image", "Line", "Rectangle", "Ellipse", "QrCode", "LinearBarcode", "DataMatrixBarcode". For config examples, you can refer to the Toolbox topic. This topic also describes how you can predefine properties of design elements.array
containerToolboxesConfigures the Toolbox buttons for channel containers. For config examples, you can refer to the Post Press Finishing topic.array
insertOnTopIf true, each newly added image will appear on top of all the elements. If false, the new image will be considered the background for another image or shape on the top layer and will appear below. The value in the config is false.boolean

Asset Manager

Object: widgets.AssetManager

NameDescriptionPossible values
defaultTabNameThe default tab is displayed when you open the Asset Manager; it should be one of the defined tabs.string
enabledBackgroundChangeIf true, allows you to open the Asset Manager to select an image for the background. In this case, when you click the background layer, both the Color and Image tabs will be available. If false, the Color picker will only be displayed to change the color. The value in the config is true.boolean
maxUploadFileSizeThe maximum size of files that can be uploaded through the Asset Manager, in bytes. This value must be 102400 (100 kB) or more. By default, this value is null, and the size of uploaded files is not limited.number
saveAllowedTabAfterInsertAllows you to restrict the image selection only to the asset tab from which an image was selected. If true, your users cannot open another tab. The value in the config is false.boolean
tabsConfigures tabs available in the Asset Manager. Before configuring tabs, you must define asset sources for them. By default, the Design Editor enables only the My files tab.array

Object Inspector

Object: widgets.ObjectInspector

NameDescriptionPossible values
bgItemEnabledDisplays the background element in the Object Inspector. The value in the config is true.boolean
dndEnabledEnables drag-and-drop for elements in the Object Inspector. The value in the config is true.boolean
violationWarningsEnabledEnables preflight warnings in the Object Inspector. If true, notifying icons appear on low-resolution images, safety line violation, region violation, and text clipping. The value in the config is true.boolean
variableItemsEnabledEnables check boxes for text elements and images to select variable fields. If true, you can mark design elements as variable items at runtime and then personalize them in your e-commerce system. The value in the config is false.boolean
emptyListTextEnabledEnables text, displayed when a loaded template has no customizable layers. The value in the config is true.boolean
positionDisplays the Object Inspector from the right or left side of the canvas. The value in the config is "Right"."Left", "Right"
aboveCanvasOnSmallScreenEnabledIf true, the Object Inspector appears above the canvas when you work on small-screen devices. Otherwise, it appears from the left side of the canvas. The value in the config is true.boolean
isHiddenIf it is true, then the editor hides the Object Inspector and expands the canvas to the available width. The value in the config is false.boolean
toggleEnabledIf it is true, then the editor displays the Toggle object inspector button. The value in the config is false.boolean
inStringPlaceholderModeDefines the appearance of in-string placeholders in the Object Inspector. If "Single", all items appear at the top of the item list. In the "Multiple" mode, linked in-string placeholders appear separately and keep the order defined in PSD templates. The value in the config is "Multiple"."Single", "Multiple"
showItemNameEnables text labels for design elements. The value in the config is false.boolean
groupRenameEnabledIf true, the user can rename group names in the Object Inspector. The value in the config is true.boolean
groupsExpandedByDefaultIf true, automatically expands groups in the Object Inspector when loading a product. If false, groups of design elements appear collapsed. The value in the config is false.boolean
expandNestedGroupsIf true, allows the user to expand all nested groups when clicking the parent group in the Object Inspector. If false, the user has to click the groups one by one to expand them all. The value in the config is false.boolean
containerTabsEnabledIf true, displays the container tabs. If false, hides the tabs. The value in the config is true. For more details, refer to the Post Press Finishing topic.boolean

Item Menu

Object: widgets.ItemMenu

NameDescriptionPossible values
objectManipulationEnabledEnables commands for deleting and cloning items in a product. The value in the config is true.boolean
verticalAlignmentEnabledEnables commands for the vertical alignment of items to the safe area and group alignment (to select several items, use Ctrl). The value in the config is true.boolean
horizontalAlignmentEnabledEnables commands for the horizontal alignment of items to the safe area and group alignment (to select several items, use Ctrl). The value in the config is true.boolean
changeZOrderEnabledEnables commands for changing the Z-order of items. The value in the config is true.boolean
renameEnabledEnables a command to rename items. The value in the config is false.boolean
groupItemsEnabledIf true, enables the Group and Ungroup commands. The value in the config is true.boolean
cloneItemsEnabledEnables a command to clone items on the canvas. The value in the config is true.boolean

Top Toolbar

Object: widgets.TopToolbar

NameDescriptionPossible values
alignButtonsEnabledDisplays the vertical aligment buttons. The value in the config is true.boolean
displayAlignButtonsAsDropdownDisplays the aligment buttons as a drop-down list. The value in the config is true.boolean
displayCaptionInButtonsDisplays button captions. The value in the config is false.boolean
historyButtonsEnabledDisplays the Undo and Redo buttons. The value in the config is true.boolean
deleteButtonEnabledDisplays the Delete button. The value in the config is false.boolean
revertButtonEnabledDisplays the Revert button. The value in the config is true.boolean
layoutItemSettingsButtonEnabledDisplays the Smart group button to configure the auto-layout settings of grouped design elements. The value in the config is true.boolean
displayZOrderButtonsAsDropdownDisplays the drop-down z-order buttons. The value in the config is true.boolean
cloneButtonEnabledDisplays the Clone object button. The value in the config is false.boolean
groupButtonEnabledDisplays the Group button for selected elements or Ungroup for groups. The value in the config is true.boolean
editTextButtonEnabledDisplays the Edit button for text elements. The value in the config is false.boolean
textVAlignmentButtonsEnabledDisplays the vertical text alignment buttons. The value in the config is true.boolean
textAlignmentButtonsEnabledDisplays the text alignment buttons. The value in the config is true.boolean
textAllowChangeColumnCountDisplays the Columns box for rich formatted text. The value in the config is true.boolean
textEmphasisButtonsEnabledDisplays the faux text style buttons (bold, italic, and underlined). The value in the config is true.boolean
textFontFamilyButtonEnabledDisplays the font list. The value in the config is trueboolean
textFontStyleButtonEnabledDisplays the font style button. The value in the config is true.boolean
textFontSizeButtonEnabledDisplays the font size spin box. The value in the config is true.boolean
textFontColorButtonEnabledDisplays the text color picker. The value in the config is true.boolean
textListButtonsEnabledDisplays a group of buttons to create and manipulate lists. The value in the config is true.boolean
textParagraphButtonEnabledDisplays the Paragraph button to configure paragraph indents. The value in the config is true.boolean
textBendButtonEnabledDisplays the Bend button to configure arched text. The value in the config is true.boolean
textShadowButtonEnabledDisplays the Shadow button. The value in the config is true.boolean
textStrokeButtonEnabledDisplays the Stroke button. The value in the config is true.boolean
textStrokeColorButtonEnabledDisplays the Stroke color button. If true, the user can change the stroke color. If false, the color is maintained the same as the text color. The value in the config is true.boolean
closeFontMenuOnClickEnabledIf true, the Select font drop-down list closes after a user selects a font. Otherwise, it closes only when a user clicks anywhere outside the list. The value in the config is true.boolean
opacitySliderEnabledProvides the ability to change layer opacity via the Opacity slider in the Top Toolbar. The value in the config is true.boolean
textLeadingButtonEnabledDisplays the text leading button. The value in the config is true.boolean
textTrackingButtonEnabledDisplays the text tracking button. The value in the config is true.boolean
multiRowModeEnabledDisplays the Top Toolbar menu in the multi-row mode to fit all buttons to the screen. The value in the config is false.boolean
borderColorButtonEnabledDisplays the Border color button. The value in the config is true.boolean
borderWidthButtonEnabledDisplays the Border width button. The value in the config is true.boolean
overlayColorButtonEnabledDisplays the Color overlay button. The value in the config is false.boolean
imageEditButtonEnabledDisplays the Edit button for images. The value in the config is true.boolean
imageSelectButtonEnabledDisplays the Select image button for images. The value in the config is true.boolean
placeholderEditButtonEnabledDisplays the Edit button for image placeholders. The value in the config is true.boolean
placeholderSelectButtonEnabledDisplays the Select image button for image placeholders. The value in the config is true.boolean

Bottom Toolbar

Object: widgets.BottomToolbar

NameDescriptionPossible values
safetyLinesCheckboxEnabledDisplays the Safety lines command on the Marking menu. The value in the config is true.boolean
gridCheckboxEnabledDisplays the Grid command on the Marking menu. The value in the config is true.boolean
previewModeCheckboxEnabledDisplays the Preview mode command on the Marking menu. In the Preview mode, the Design Editor hides safety lines and the bleed and slug areas on the canvas. The value in the config is true.boolean
snapLinesItemsCheckboxEnabledDisplays the Snap to items command on the Marking menu. The value in the config is true. This parameter also supports an ICheckboxConfig object.boolean
snapLinesPrintAreaCheckboxEnabledDisplays the Snap to page command on the Marking menu. The value in the config is true. This parameter also supports an ICheckboxConfig object.boolean
snapLinesSafetyLinesCheckboxEnabledDisplays the Snap to safety lines command on the Marking menu. The value in the config is true. This parameter also supports an ICheckboxConfig object.boolean
snapLinesInteractiveZonesCheckboxEnabledDisplays the Snap to interactive zones command on the Marking menu. The value in the config is true. This parameter also supports an ICheckboxConfig object.boolean
zoomValueEnabledEnables a button displaying the current zoom level. When your users click this button, they can set a predefined zoom level or zoom the canvas to fit safety lines. The value in the config is true.boolean
zoomButtonsEnabledDisplays the Zoom in and Zoom out buttons. The value in the config is true.boolean
rotateButtonEnabledDisplays the Rotate button allowing your users to rotate the canvas at the specified angle when editing their products. The value in the config is true.boolean
fullWindowButtonEnabledDisplays the Full window button. The value in the config is false.boolean
fullScreenButtonEnabledDisplays the Full screen button. The full-screen mode is not supported in Internet Explorer and Safari, so the related button is not displayed in these browsers even if it is enabled. The value in the config is true.boolean
Surface selectorobject: widgets.BottomToolbar.surfaceSwitch
enabledEnables the pagination control. The value in the config is true.boolean
showThumbnailsDisplays page thumbnails. The value in the config is false.boolean
showSurfaceNamesDisplays page names in the pagination control. If it is true and you name your product surfaces, then these names are shown in the navigation area. Otherwise, surface indexes are shown. The value in the config is true.boolean
scrollPageButtonsEnabledDisplays the Next and Previous buttons, which allow for scrolling the page selector. The value in the config is true.boolean
toggleSurfaceButtonsEnabledDisplays the Next and Previous buttons, which allow for switching between pages. The value in the config is false.boolean
firstAndLastButtonsEnabledDisplays the First and Last buttons for the page navigation. The value in the config is true.boolean
specificForSurfaceCountDefines the pagination control for products consisting of the certain number of pages. You can find an example of using this property in the multiple-pages topic.object

Qr Code

Object: widgets.QrCodeDialog

NameDescriptionPossible values
defaultTypeA tab to be displayed when the QR-code dialog opens. The default tab is "QrUrl"."QrVCard", "QrUrl", "QrPhone", "QrData"
tabsDefines which tabs and in what order will be displayed in the QR-code dialog. The value in the config is ["QrVCard", "QrUrl", "QrPhone", "QrData"].array containing any combination of "QrVCard", "QrUrl", "QrPhone", and "QrData"

Linear Barcode

Object: widgets.LinearBarcodeDialog

NameDescriptionPossible values
defaultTypeThe default type of a barcode, "LinearEan8"."LinearEan8", "LinearEan13", "LinearUpcA", "LinearUpcE", "LinearCode128"
autoChecksumIf false, allows you to enter either 7 or 8 digits in EAN-8 barcodes. In the first case, the checksum digit will be calculated automatically. In the latter case, the 8th digit must be the correct checksum. If true, you will only be allowed to enter 7 digits, and the checksum will be calculated automatically. The value in the config is false.boolean

Rich Text Editor

Object: widgets.RichTextDialog

NameDescriptionPossible values
applyToAllTextModeAllows you to apply formatting to a whole text element despite a text selection. The value in the config is false.boolean
bgColorThe text background color in the Rich Text dialog. The value in the config is "white".color in css-compatible format
createMultiColumnTextAllows for creating multicolumn text. If true, the Columns drop-down list appears in the Top Toolbar for rich formatted text elements. The value in the config is false.boolean
showHintEnables hints in the following drop-down lists: "font", "style", "size", "tracking", "leading", "firstLineIndent", "paddingTop", "paddingBottom", "paddingLeft", "paddingRight". By default, all properties of this object are set to true.object
User input boxesobject: widgets.RichTextDialog.showInput
sizeEnables user input in the Font size drop-down list. The value in the config is true.boolean
Special charactersobject: widgets.RichTextDialog.ckeditorConfig
specialCharsAn array defining the Special character list. For an example and the default character list, refer to IRichTextDialogConfig.array
Text outline parametersobject: widgets.RichTextDialog.textOutline
enabledEnables text outline. The text is outlined in the Rich Text dialog if the difference between the text color and the background color is below the hue or brightness threshold. The value in the config is false.boolean
hueThresholdThe hue threshold. The value in the config is 74.number
brightnessThresholdThe brightness threshold. The value in the config is 5.number
colorThe outline color. The value in the config is "rgba(0, 0, 0, 0.2)".color in css-compatible format
Rich text dialog zoomobject: widgets.RichTextDialog.zoom
enabledEnables the zoom slider in the Rich Text dialog. The value in the config is false.boolean
minZoomPctThe least value of the zoom slider, must be less than 100. The value in the config is 10.number
maxZoomPctThe most value of the zoom slider, must be more than 100. The value in the config is 500.number
Rich text auto-zoomobject: widgets.RichTextDialog.autoZoom
enabledEnables auto-zoom at opening the Rich Text dialog. The value in the config is false.boolean
minFontSizeThresholdPtThe font size threshold in points. If the text font size is less than this threshold, the text is auto-zoomed in. The value in the config is 12.number
maxFontSizeThresholdPtThe font size threshold in points. If the text font size is more than this threshold, the text is auto-zoomed out. The value in the config is 36.number

Finish Button

Object: widgets.FinishButton

NameDescriptionPossible values
modeThe mode of the Finish design button. "Disabled" hides the button and enables a callback. "Download" is the debug mode that shows the button and disables the callback, but allows you to download the hi-res output. The value in the config is "Disabled"."Download", "Disabled"

Image Editor

Object: widgets.ImageEditorDialog

NameDescriptionPossible values
colorAdjustButtonEnabledDisplays the Adjust button in the Image Editor. The value in the config is true.boolean
cropButtonEnabledDisplays the Crop button in the Image Editor. The value in the config is true.boolean
backgroundEraseButtonEnabledDisplays the Background button in the Image Editor. The value in the config is true.boolean
fullscreenOnTouchDeviceIf true, the Image Editor opens in the full-screen mode on mobile devices. The value in the config is true.boolean
imageContextMenuEnabledIf true, your customers will be allowed to open the context menu by right-clicking on the images they are editing. By default, this value is true.boolean

Color Picker

Object: widgets.ColorPicker

NameDescriptionPossible values
showPaletteOnlyIf true, shows the predefined palettes and hides the color field in the Color picker. If false, shows both the predefined palettes and the field. The value in the config is false.boolean
sectionCollapseEnabledIf true, allows users to collapse the sections of predefined palettes when they click headers of these sections in the Color picker. The value in the config is false.boolean
colorTypeDropdownEnabledEnables the Color type drop-down list, where your users can select between CMYK, RGB, and HEX input formats when defining their colors. The value in the config is true.boolean
eyeDropperEnabledEnables the eyedropeer to select colors on the canvas. The value in the config is true.boolean
defaultColorTypeThe initial color input format of the Color picker. The value in the config is "cmyk"."rgb", "cmyk", "hex"
availableColorTypesSpecifies the color input formats that will be available to your users in the Color picker. The value in the config is ["cmyk", "rgb", "hex"].array
paletteHintsEnabledDisplays names of color swatches. You can find an example of defining these names in the Color Picker topic. The value in the config is true.boolean
cmykDecimalsEnabledDisplays decimal places for CMYK values. If true, the Color picker displays the first decimal place in the CMYK color fields. Otherwise, CMYK values are displayed as integers. The value in the config is false.boolean
colorSpaceOutdated, use defaultColorType instead. When both colorSpace and defaultColorType are defined, then colorSpace will be applied. The color space which the user can select a swatch from. The value in the config is "cmyk"."rgb", "cmyk"
colorSpaceDropdownEnabledOutdated, use colorTypeDropdownEnabled instead. When both colorSpaceDropdownEnabled and colorTypeDropdownEnabled are defined, then colorSpaceDropdownEnabled will be applied. Enables the Color space drop-down list, where your users can select between CMYK and RGB palettes when defining their colors. The value in the config is false.boolean
Sections of color swatchesarray: widgets.ColorPicker.sections
typeThe palette type."NoColorSection", "RecentSection", "ThemeSection", "PaletteSection"
translationKeyThe palette name. You can use either a string or an identifier of a string defined in the ~\Configuration\translations.json file.string
viewTypeThe appearance of the palette. The value in the config is "Block"."Block", "Line"
targetsAn item property that you can specify a color for. The value in the config is ["All"].array containing any combination of "All", "Background", "Border", "Fill", "Line", "RichText", "Shadow", "Stroke", "Text"
paletteThe predefined palette displayed in the color picker. The value in the config is [["cmyk(0%,100%,100%,0%,100%)", "cmyk(0%,0%,100%,0%,100%)",...],...]two-dimensional array: array of palettes, where each pallete is an array of colors in css-compatible format
Was this page helpful?