---
title: "ITextEditorRenderer | Customer&#x27;s Canvas"
canonical: "https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms-text/ITextEditorRenderer/"
archived: false
applies_to:
  - product: "Customer's Canvas On-Premises"
  - product: "Customer's Canvas Hub"
    versions: ["cloud"]
    entity_id: "https://customerscanvas.com/products/hub#software-application"
  - product: "Design Atoms JS"
    versions: ["7.4"]
---

# ITextEditorRenderer

**Applies to:** Customer's Canvas On-Premises; Customer's Canvas Hub cloud; Design Atoms JS 7.4

> API reference for the ITextEditorRenderer module in @aurigma/design-atoms-text.

## Interfaces

### ITextEditorRenderer

#### Methods

##### clearCursor()

```ts
clearCursor(): void;
```

###### Returns

`void`

##### drawCursor()

```ts
drawCursor(callback): void;
```

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `callback` | (`context`) => `void` |

###### Returns

`void`

##### drawDesign()

```ts
drawDesign(): void;
```

###### Returns

`void`

##### drawSelection()

```ts
drawSelection(textHandler, selection): void;
```

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `textHandler` | `TextHandler` |
| `selection` | `TextRange` |

###### Returns

`void`

##### drawText()

```ts
drawText(textHandler): void;
```

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `textHandler` | `TextHandler` |

###### Returns

`void`
