# UpcastConversionData

interface

Conversion data.

**Note:** Keep in mind that this object is shared by reference between all conversion callbacks that will be called. This means that callbacks can override values if needed, and these values will be available in other callbacks.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-engine/src/conversion/upcastdispatcher.ts#L558)

<a id="type-parameters">

## Type parameters

### `TItem`

<a id="properties">

## Properties

<a id="member-modelCursor">

### `modelCursor: ModelPosition`

The position where the converter should start changes. Change this value for the next converter to tell where the conversion should continue.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-engine/src/conversion/upcastdispatcher.ts#L569)

<a id="member-modelRange">

### `modelRange: ModelRange | null`

The current state of conversion result. Every change to the converted element should be reflected by setting or modifying this property.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-engine/src/conversion/upcastdispatcher.ts#L575)

<a id="member-viewItem">

### `viewItem: TItem`

The converted item.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-engine/src/conversion/upcastdispatcher.ts#L563)

---

Full index of the CKEditor 5 API reference: [llms.txt](llms.txt)
