# Upgrade guide for Gantt v4.1.3

## Task editor width locale change

The width of the task editor is now defined in Scheduler Pro's locale instead of in Gantt's. With this move, the key was
renamed and if you are using a custom locale based width you have to update your locale:

**Old code:**

```javascript
TaskEditor : {
    editorWidth : '60em'
}
```

**New code:**

```javascript
GanttTaskEditor : {
    editorWidth : '60em'
}
```

## TaskDrag `dragTipTemplate` renamed to `tooltipTemplate`

Simple renaming in the TaskDrag feature, see this demonstrated in the updated "tooltips" demo:

**Old code:**

```javascript
features : {
    taskDrag : {
        dragTipTemplate : ({ taskRecord, startDate }) => {
            return 'foo'
        }
    }
}
```

**New code:**

```javascript
features : {
    taskDrag : {
        tooltipTemplate : ({ taskRecord, startDate }) => {
            return 'foo'
        }
    }
}
```

## TaskDrag `dragTipTemplate` / `tooltipTemplate` deprecated params

The `startText`, `endText`, `startClockHtml`, `endClockHtml`, `dragData` params of the dragTipTemplate / tooltipTemplate
have been deprecated and will be removed in 5.0.


<p class="last-modified">Last modified on 2023-10-26 8:19:02</p>