You’re viewing outdated documentation. View the latest Customer’s Canvas On-Premises documentation.

IItemToolbarPermissionsConfig Interface

Applies to: Customer's Canvas On-Premises; Design Editor 6.15.0, 6.x (may differ) · Archived documentation

A structure containing the configuration of the Floating item toolbar.

To enable the Floating item toolbar on the canvas, set the floatingItemToolbarEnabled property to true. For details, refer to the Customizing the User Interface topic.

example
{
    "defaultItemsConfig": {
        "image": {
            "itemPermissions": {
                "allowZOrderChange": false,
                "itemToolbarPermissions": {
                    "showEditButton": true,
                    "showDeleteButton": false,
                    "showSelectButton": false
                }
            }
        }
    },
    "canvas": {
        "floatingItemToolbarEnabled": true
    }
}

Properties

Optional showDeleteButton

showDeleteButton: boolean

Enables the Delete button. The default value is true.

Optional showEditButton

showEditButton: boolean

Enables the Edit button. The default value is true.

Optional showSelectButton

showSelectButton: boolean

Enables the Select Image button. The default value is true.