---
title: "Configuring copyfitting for new items | Customer's Canvas On-Premises"
canonical: "https://customerscanvas.com/docs/on-premises/design-editor/iframe-api/howto/copyfitting-new-items/"
---

# Configuring copyfitting for new items

> Your users can add new text elements to the canvas as well as open pre-designed templates. To enable copyfitting for new text elements, you can specify the overflow strategy and shrink mode through the `defaultItemsConfig` object of **clientConfig.json**. Also, you need to enable the **Add bounded text** button in the Toolbox.

```json
{
    "defaultItemsConfig": {
        "text": {
            "overflowStrategy": "FitToWidth",
            "textShrinkMode": "Scale"
        }
    },
    "widgets": {
        "Toolbox": {
            "buttons": [ "Text", "BoundedText", "Image" ]
        }
    }
}
```

For more details about default item configuration, you can refer to the [Toolbox](https://customerscanvas.com/docs/on-premises/design-editor/iframe-api/editor-configuration/toolbox.md) topic.
