---
title: "ITextEditor | Customer's Canvas On-Premises"
canonical: "https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms/ITextEditor/"
---

# ITextEditor

> ***

## Interfaces

### IInlineStyle

#### Properties

##### baselineShift?

```ts
optional baselineShift?: number;
```

##### color?

```ts
optional color?: Color;
```

##### font?

```ts
optional font?: IFontSettings;
```

##### horizontalScale?

```ts
optional horizontalScale?: number;
```

##### leading?

```ts
optional leading?: number;
```

##### openType?

```ts
optional openType?: OpenTypeFeature[];
```

##### stroke?

```ts
optional stroke?: IStroke;
```

##### subscript?

```ts
optional subscript?: boolean;
```

##### superscript?

```ts
optional superscript?: boolean;
```

##### tracking?

```ts
optional tracking?: number;
```

##### underline?

```ts
optional underline?: boolean;
```

##### verticalScale?

```ts
optional verticalScale?: number;
```

### IParagraphStyle

#### Properties

##### alignment?

```ts
optional alignment?: TextAlignment;
```

##### firstLineIndent?

```ts
optional firstLineIndent?: number;
```

##### leftIndent?

```ts
optional leftIndent?: number;
```

##### rightIndent?

```ts
optional rightIndent?: number;
```

##### spaceAfter?

```ts
optional spaceAfter?: number;
```

##### spaceBefore?

```ts
optional spaceBefore?: number;
```

***

### IStroke

#### Properties

##### color?

```ts
optional color?: Color;
```

##### enabled?

```ts
optional enabled?: boolean;
```

##### size?

```ts
optional size?: number;
```

## Type Aliases

### EditorInitData

```ts
type EditorInitData = object;
```

#### Properties

##### borderColor?

```ts
optional borderColor?: string;
```

##### borderWidth?

```ts
optional borderWidth?: number;
```

##### defaultInlineStyle?

```ts
optional defaultInlineStyle?: MultiSelectMode;
```

##### defaultParagraphStyle?

```ts
optional defaultParagraphStyle?: IParagraphStyle;
```

##### fillColor?

```ts
optional fillColor?: string;
```

##### isVertical?

```ts
optional isVertical?: boolean;
```

##### limits?

```ts
optional limits?: MultiSelectMode;
```

##### listSettings

```ts
listSettings: IListConfiguration;
```

##### newLineEnabled?

```ts
optional newLineEnabled?: boolean;
```

##### opacity?

```ts
optional opacity?: number;
```

##### point?

```ts
optional point?: MultiSelectMode;
```

##### previewScale?

```ts
optional previewScale?: number;
```

##### rectangle?

```ts
optional rectangle?: MultiSelectMode;
```

##### text?

```ts
optional text?: string;
```

##### textAlignment?

```ts
optional textAlignment?: MultiSelectMode;
```

##### textFormattingEnabled?

```ts
optional textFormattingEnabled?: boolean;
```

##### textVerticalAlignment?

```ts
optional textVerticalAlignment?: MultiSelectMode;
```

##### transform?

```ts
optional transform?: MultiSelectMode;
```
