---
title: "Interface: ICommonConfig | Customer's Canvas On-Premises"
canonical: "https://customerscanvas.com/docs/on-premises/design-editor/iframe-api/reference/design-editor-iframe/interfaces/WidgetConfigurationInterfaces.ICommonConfig/"
---

# Interface: ICommonConfig

> A structure for common settings of widgets.

## Example

```js
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`](https://customerscanvas.com/docs/on-premises/design-editor/iframe-api/reference/design-editor-iframe/interfaces/WidgetConfigurationInterfaces.IRangeParams.md)

Sets font size range.

***

### tracking?

> `optional` **tracking?**: [`IRangeParams`](https://customerscanvas.com/docs/on-premises/design-editor/iframe-api/reference/design-editor-iframe/interfaces/WidgetConfigurationInterfaces.IRangeParams.md)

Sets font tracking range.

***

### leading?

> `optional` **leading?**: [`IRangeParams`](https://customerscanvas.com/docs/on-premises/design-editor/iframe-api/reference/design-editor-iframe/interfaces/WidgetConfigurationInterfaces.IRangeParams.md)

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`.

***

### gallery?

> `optional` **gallery?**: [`IGalleryDefaultConfig`](https://customerscanvas.com/docs/on-premises/design-editor/iframe-api/reference/design-editor-iframe/interfaces/DefaultConfigurationInterfaces.IGalleryDefaultConfig.md)

Specifies default settings of the Gallery.
