---
title: "IDialogOptions"
---
# IDialogOptions

Defined in: [src/types/dialog.d.ts:15](https://github.com/xdan/jodit/blob/main/src/types/dialog.d.ts#L15)

## Extends

- [`IViewOptions`](./types.IViewOptions.html)

### resizable?

`optional` **resizable?**: `boolean`

Defined in: [src/types/dialog.d.ts:16](https://github.com/xdan/jodit/blob/main/src/types/dialog.d.ts#L16)

***

### draggable?

`optional` **draggable?**: `boolean`

Defined in: [src/types/dialog.d.ts:17](https://github.com/xdan/jodit/blob/main/src/types/dialog.d.ts#L17)

***

### maxWidth?

`optional` **maxWidth?**: `string` \| `number`

Defined in: [src/types/dialog.d.ts:18](https://github.com/xdan/jodit/blob/main/src/types/dialog.d.ts#L18)

***

### minWidth?

`optional` **minWidth?**: `string` \| `number`

Defined in: [src/types/dialog.d.ts:19](https://github.com/xdan/jodit/blob/main/src/types/dialog.d.ts#L19)

***

### minHeight?

`optional` **minHeight?**: `string` \| `number`

Defined in: [src/types/dialog.d.ts:20](https://github.com/xdan/jodit/blob/main/src/types/dialog.d.ts#L20)

***

### closeOnClickOverlay?

`optional` **closeOnClickOverlay?**: `boolean`

Defined in: [src/types/dialog.d.ts:21](https://github.com/xdan/jodit/blob/main/src/types/dialog.d.ts#L21)

***

### closeOnEsc?

`optional` **closeOnEsc?**: `boolean`

Defined in: [src/types/dialog.d.ts:22](https://github.com/xdan/jodit/blob/main/src/types/dialog.d.ts#L22)

***

### debugLanguage?

`optional` **debugLanguage?**: `boolean`

Defined in: [src/types/view.d.ts:37](https://github.com/xdan/jodit/blob/main/src/types/view.d.ts#L37)

#### Inherited from

[`IViewOptions`](./types.IViewOptions.html).[`debugLanguage`](./types.IViewOptions.html#debuglanguage)

***

### i18n?

`optional` **i18n?**: `false` \| [`IDictionary`](../modules/types.html#idictionary)\<[`IDictionary`](../modules/types.html#idictionary)\<`string`\>\>

Defined in: [src/types/view.d.ts:38](https://github.com/xdan/jodit/blob/main/src/types/view.d.ts#L38)

#### Inherited from

[`IViewOptions`](./types.IViewOptions.html).[`i18n`](./types.IViewOptions.html#i18n)

***

### toolbar?

`optional` **toolbar?**: `string` \| `boolean` \| [`HTMLElement`](https://developer.mozilla.org/docs/Web/API/HTMLElement)

Defined in: [src/types/view.d.ts:42](https://github.com/xdan/jodit/blob/main/src/types/view.d.ts#L42)

#### Inherited from

[`IViewOptions`](./types.IViewOptions.html).[`toolbar`](./types.IViewOptions.html#toolbar)

***

### toolbarButtonSize?

`readonly` `optional` **toolbarButtonSize?**: `"small"` \| `"tiny"` \| `"xsmall"` \| `"middle"` \| `"large"`

Defined in: [src/types/view.d.ts:44](https://github.com/xdan/jodit/blob/main/src/types/view.d.ts#L44)

#### Inherited from

[`IViewOptions`](./types.IViewOptions.html).[`toolbarButtonSize`](./types.IViewOptions.html#toolbarbuttonsize)

***

### textIcons?

`readonly` `optional` **textIcons?**: `boolean` \| ((`key`) => `boolean`)

Defined in: [src/types/view.d.ts:45](https://github.com/xdan/jodit/blob/main/src/types/view.d.ts#L45)

#### Inherited from

[`IViewOptions`](./types.IViewOptions.html).[`textIcons`](./types.IViewOptions.html#texticons)

***

### extraButtons?

`readonly` `optional` **extraButtons?**: [`Buttons`](../modules/types.html#buttons)

Defined in: [src/types/view.d.ts:47](https://github.com/xdan/jodit/blob/main/src/types/view.d.ts#L47)

#### Inherited from

[`IViewOptions`](./types.IViewOptions.html).[`extraButtons`](./types.IViewOptions.html#extrabuttons)

***

### removeButtons?

`readonly` `optional` **removeButtons?**: `string`[]

Defined in: [src/types/view.d.ts:48](https://github.com/xdan/jodit/blob/main/src/types/view.d.ts#L48)

#### Inherited from

[`IViewOptions`](./types.IViewOptions.html).[`removeButtons`](./types.IViewOptions.html#removebuttons)

***

### extraIcons?

`readonly` `optional` **extraIcons?**: [`IDictionary`](../modules/types.html#idictionary)\<`string`\>

Defined in: [src/types/view.d.ts:49](https://github.com/xdan/jodit/blob/main/src/types/view.d.ts#L49)

#### Inherited from

[`IViewOptions`](./types.IViewOptions.html).[`extraIcons`](./types.IViewOptions.html#extraicons)

***

### buttons?

`readonly` `optional` **buttons?**: [`ButtonsOption`](../modules/types.html#buttonsoption)

Defined in: [src/types/view.d.ts:51](https://github.com/xdan/jodit/blob/main/src/types/view.d.ts#L51)

#### Inherited from

[`IViewOptions`](./types.IViewOptions.html).[`buttons`](./types.IViewOptions.html#buttons)

***

### showTooltip?

`readonly` `optional` **showTooltip?**: `boolean`

Defined in: [src/types/view.d.ts:53](https://github.com/xdan/jodit/blob/main/src/types/view.d.ts#L53)

#### Inherited from

[`IViewOptions`](./types.IViewOptions.html).[`showTooltip`](./types.IViewOptions.html#showtooltip)

***

### showTooltipDelay?

`readonly` `optional` **showTooltipDelay?**: `number`

Defined in: [src/types/view.d.ts:54](https://github.com/xdan/jodit/blob/main/src/types/view.d.ts#L54)

#### Inherited from

[`IViewOptions`](./types.IViewOptions.html).[`showTooltipDelay`](./types.IViewOptions.html#showtooltipdelay)

***

### useNativeTooltip?

`readonly` `optional` **useNativeTooltip?**: `boolean`

Defined in: [src/types/view.d.ts:55](https://github.com/xdan/jodit/blob/main/src/types/view.d.ts#L55)

#### Inherited from

[`IViewOptions`](./types.IViewOptions.html).[`useNativeTooltip`](./types.IViewOptions.html#usenativetooltip)

***

### cache?

`optional` **cache?**: `boolean`

Defined in: [src/types/view.d.ts:66](https://github.com/xdan/jodit/blob/main/src/types/view.d.ts#L66)

Use cache for heavy methods

#### Inherited from

[`IViewOptions`](./types.IViewOptions.html).[`cache`](./types.IViewOptions.html#cache)

***

### asyncStorage?

`optional` **asyncStorage?**: [`IAsyncStorageOptions`](./types.IAsyncStorageOptions.html)

Defined in: [src/types/view.d.ts:74](https://github.com/xdan/jodit/blob/main/src/types/view.d.ts#L74)

Configure the provider that backs [IViewBased.asyncStorage](./types.IViewBased.html#asyncstorage).
By default it uses persistent `IndexedDB` (with an in-memory fallback);
set `defaultProvider` to `'local'`, `'memory'` or a custom
[IAsyncStorage](./types.IAsyncStorage.html) implementation to override it.

#### Inherited from

[`IViewOptions`](./types.IViewOptions.html).[`asyncStorage`](./types.IViewOptions.html#asyncstorage)

***

### getIcon?

`optional` **getIcon?**: (`name`, `clearName`) => [`CanUndef`](../modules/types.html#canundef)\<`string`\>

Defined in: [src/types/view.d.ts:76](https://github.com/xdan/jodit/blob/main/src/types/view.d.ts#L76)

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `name` | `string` |
| `clearName` | `string` |

#### Returns

[`CanUndef`](../modules/types.html#canundef)\<`string`\>

#### Inherited from

[`IViewOptions`](./types.IViewOptions.html).[`getIcon`](./types.IViewOptions.html#geticon)

***

### headerButtons?

`optional` **headerButtons?**: `string` \| (`string` \| [`IControlType`](./types.IControlType.html)\<[`IViewBased`](./types.IViewBased.html)\<[`IViewOptions`](./types.IViewOptions.html)\> \| [`IJodit`](./types.IJodit.html) \| [`IFileBrowser`](./types.IFileBrowser.html)\<[`IFileBrowserOptions`](./types.IFileBrowserOptions.html)\>, [`IToolbarButton`](./types.IToolbarButton.html)\> \| [`ButtonsGroup`](./types.ButtonsGroup.html))[]

Defined in: [src/types/view.d.ts:78](https://github.com/xdan/jodit/blob/main/src/types/view.d.ts#L78)

#### Inherited from

[`IViewOptions`](./types.IViewOptions.html).[`headerButtons`](./types.IViewOptions.html#headerbuttons)

***

### basePath?

`readonly` `optional` **basePath?**: `string`

Defined in: [src/types/view.d.ts:79](https://github.com/xdan/jodit/blob/main/src/types/view.d.ts#L79)

#### Inherited from

[`IViewOptions`](./types.IViewOptions.html).[`basePath`](./types.IViewOptions.html#basepath)

***

### minified?

`readonly` `optional` **minified?**: `boolean`

Defined in: [src/types/view.d.ts:84](https://github.com/xdan/jodit/blob/main/src/types/view.d.ts#L84)

Plugin autoloader should load minified version of the file

#### Inherited from

[`IViewOptions`](./types.IViewOptions.html).[`minified`](./types.IViewOptions.html#minified)

***

### theme?

`optional` **theme?**: `string`

Defined in: [src/types/view.d.ts:86](https://github.com/xdan/jodit/blob/main/src/types/view.d.ts#L86)

#### Inherited from

[`IViewOptions`](./types.IViewOptions.html).[`theme`](./types.IViewOptions.html#theme)

***

### defaultTimeout?

`optional` **defaultTimeout?**: `number`

Defined in: [src/types/view.d.ts:88](https://github.com/xdan/jodit/blob/main/src/types/view.d.ts#L88)

#### Inherited from

[`IViewOptions`](./types.IViewOptions.html).[`defaultTimeout`](./types.IViewOptions.html#defaulttimeout)

***

### disabled?

`optional` **disabled?**: `boolean`

Defined in: [src/types/view.d.ts:90](https://github.com/xdan/jodit/blob/main/src/types/view.d.ts#L90)

#### Inherited from

[`IViewOptions`](./types.IViewOptions.html).[`disabled`](./types.IViewOptions.html#disabled)

***

### readonly?

`optional` **readonly?**: `boolean`

Defined in: [src/types/view.d.ts:91](https://github.com/xdan/jodit/blob/main/src/types/view.d.ts#L91)

#### Inherited from

[`IViewOptions`](./types.IViewOptions.html).[`readonly`](./types.IViewOptions.html#readonly)

***

### iframe?

`optional` **iframe?**: `boolean`

Defined in: [src/types/view.d.ts:92](https://github.com/xdan/jodit/blob/main/src/types/view.d.ts#L92)

#### Inherited from

[`IViewOptions`](./types.IViewOptions.html).[`iframe`](./types.IViewOptions.html#iframe)

***

### direction?

`optional` **direction?**: `""` \| `"rtl"` \| `"ltr"`

Defined in: [src/types/view.d.ts:93](https://github.com/xdan/jodit/blob/main/src/types/view.d.ts#L93)

#### Inherited from

[`IViewOptions`](./types.IViewOptions.html).[`direction`](./types.IViewOptions.html#direction)

***

### namespace?

`optional` **namespace?**: `string`

Defined in: [src/types/view.d.ts:95](https://github.com/xdan/jodit/blob/main/src/types/view.d.ts#L95)

#### Inherited from

[`IViewOptions`](./types.IViewOptions.html).[`namespace`](./types.IViewOptions.html#namespace)

***

### activeButtonsInReadOnly?

`optional` **activeButtonsInReadOnly?**: `string`[]

Defined in: [src/types/view.d.ts:97](https://github.com/xdan/jodit/blob/main/src/types/view.d.ts#L97)

#### Inherited from

[`IViewOptions`](./types.IViewOptions.html).[`activeButtonsInReadOnly`](./types.IViewOptions.html#activebuttonsinreadonly)

***

### allowTabNavigation?

`optional` **allowTabNavigation?**: `boolean`

Defined in: [src/types/view.d.ts:99](https://github.com/xdan/jodit/blob/main/src/types/view.d.ts#L99)

#### Inherited from

[`IViewOptions`](./types.IViewOptions.html).[`allowTabNavigation`](./types.IViewOptions.html#allowtabnavigation)

***

### zIndex?

`optional` **zIndex?**: `string` \| `number`

Defined in: [src/types/view.d.ts:101](https://github.com/xdan/jodit/blob/main/src/types/view.d.ts#L101)

#### Inherited from

[`IViewOptions`](./types.IViewOptions.html).[`zIndex`](./types.IViewOptions.html#zindex)

***

### fullsize?

`optional` **fullsize?**: `boolean`

Defined in: [src/types/view.d.ts:102](https://github.com/xdan/jodit/blob/main/src/types/view.d.ts#L102)

#### Inherited from

[`IViewOptions`](./types.IViewOptions.html).[`fullsize`](./types.IViewOptions.html#fullsize)

***

### globalFullSize?

`optional` **globalFullSize?**: `boolean`

Defined in: [src/types/view.d.ts:103](https://github.com/xdan/jodit/blob/main/src/types/view.d.ts#L103)

#### Inherited from

[`IViewOptions`](./types.IViewOptions.html).[`globalFullSize`](./types.IViewOptions.html#globalfullsize)

***

### controls?

`optional` **controls?**: [`Controls`](./types.Controls.html)\<[`IViewBased`](./types.IViewBased.html)\<[`IViewOptions`](./types.IViewOptions.html)\> \| [`IJodit`](./types.IJodit.html)\>

Defined in: [src/types/view.d.ts:105](https://github.com/xdan/jodit/blob/main/src/types/view.d.ts#L105)

#### Inherited from

[`IViewOptions`](./types.IViewOptions.html).[`controls`](./types.IViewOptions.html#controls)

***

### createAttributes?

`optional` **createAttributes?**: [`IDictionary`](../modules/types.html#idictionary)\<[`Attributes`](../modules/types.html#attributes) \| [`NodeFunction`](../modules/types.html#nodefunction)\>

Defined in: [src/types/view.d.ts:107](https://github.com/xdan/jodit/blob/main/src/types/view.d.ts#L107)

#### Inherited from

[`IViewOptions`](./types.IViewOptions.html).[`createAttributes`](./types.IViewOptions.html#createattributes)

***

### events?

`optional` **events?**: [`IDictionary`](../modules/types.html#idictionary)\<(...`args`) => `any`\>

Defined in: [src/types/view.d.ts:109](https://github.com/xdan/jodit/blob/main/src/types/view.d.ts#L109)

#### Inherited from

[`IViewOptions`](./types.IViewOptions.html).[`events`](./types.IViewOptions.html#events)

***

### shadowRoot?

`optional` **shadowRoot?**: [`Nullable`](../modules/types.html#nullable)\<[`ShadowRoot`](https://developer.mozilla.org/docs/Web/API/ShadowRoot)\>

Defined in: [src/types/view.d.ts:111](https://github.com/xdan/jodit/blob/main/src/types/view.d.ts#L111)

#### Inherited from

[`IViewOptions`](./types.IViewOptions.html).[`shadowRoot`](./types.IViewOptions.html#shadowroot)

***

### nonce?

`optional` **nonce?**: `string`

Defined in: [src/types/view.d.ts:118](https://github.com/xdan/jodit/blob/main/src/types/view.d.ts#L118)

CSP nonce applied to every `<style>`/`<script>`/`<link>` element Jodit
injects at runtime, so a strict `style-src`/`script-src` policy does not
block them.

#### Inherited from

[`IViewOptions`](./types.IViewOptions.html).[`nonce`](./types.IViewOptions.html#nonce)

***

### popupRoot?

`optional` **popupRoot?**: [`Nullable`](../modules/types.html#nullable)\<[`HTMLElement`](https://developer.mozilla.org/docs/Web/API/HTMLElement)\>

Defined in: [src/types/view.d.ts:120](https://github.com/xdan/jodit/blob/main/src/types/view.d.ts#L120)

#### Inherited from

[`IViewOptions`](./types.IViewOptions.html).[`popupRoot`](./types.IViewOptions.html#popuproot)

***

### ownerWindow?

`optional` **ownerWindow?**: [`Window`](https://developer.mozilla.org/docs/Web/API/Window)

Defined in: [src/types/view.d.ts:122](https://github.com/xdan/jodit/blob/main/src/types/view.d.ts#L122)

#### Inherited from

[`IViewOptions`](./types.IViewOptions.html).[`ownerWindow`](./types.IViewOptions.html#ownerwindow)

***

### language?

`optional` **language?**: `string`

Defined in: [src/types/view.d.ts:124](https://github.com/xdan/jodit/blob/main/src/types/view.d.ts#L124)

#### Inherited from

[`IViewOptions`](./types.IViewOptions.html).[`language`](./types.IViewOptions.html#language)

***

### eventEmmiter?

`optional` **eventEmmiter?**: [`IEventEmitter`](./types.IEventEmitter.html)

Defined in: [src/types/view.d.ts:126](https://github.com/xdan/jodit/blob/main/src/types/view.d.ts#L126)

#### Inherited from

[`IViewOptions`](./types.IViewOptions.html).[`eventEmmiter`](./types.IViewOptions.html#eventemmiter)
