Skip to main content
⚠️ Archived Version

You are viewing documentation for Design Editor version 7.2, which is no longer actively maintained. For the latest features and updates, please refer to the current version (7.3).

Interface: ICommonConfig

A structure for common settings of widgets.

Example

configuration = {
widgets: {
common: {
fontSize: { max: 50, min: 5, step: 5 },
tracking: { max: 100, min: -50, step: 25 },
leading: { max: 50, min: 5, step: 5 },
},
},
};

Properties

fontSize?

optional fontSize?: IRangeParams

Sets font size range.


tracking?

optional tracking?: IRangeParams

Sets font tracking range.


leading?

optional leading?: IRangeParams

Sets font leading range.


textFormattingEnabled?

optional textFormattingEnabled?: boolean

If true, allows for changing the rich text format. This parameter is applied to text layers with the <TATF_null> marker. The default value is true.


optional gallery?: IGalleryDefaultConfig

Specifies default settings of the Gallery.

Was this page helpful?