---
title: "IJodit"
---
# IJodit

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

## Extends

- [`IViewWithToolbar`](./types.IViewWithToolbar.html).[`IDlgs`](./types.IDlgs.html)

### isJodit

`readonly` **isJodit**: `true`

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

***

### options

`readonly` **options**: [`Config`](../options.html)

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

#### Overrides

[`IViewWithToolbar`](./types.IViewWithToolbar.html).[`options`](./types.IViewWithToolbar.html#options-1)

***

### history

`readonly` **history**: [`IHistory`](./types.IHistory.html)

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

***

### editor

**editor**: [`HTMLElement`](https://developer.mozilla.org/docs/Web/API/HTMLElement)

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

***

### element

`readonly` **element**: [`HTMLElement`](https://developer.mozilla.org/docs/Web/API/HTMLElement)

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

***

### places

`readonly` **places**: [`IWorkPlace`](./types.IWorkPlace.html)[]

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

***

### currentPlace

`readonly` **currentPlace**: [`IWorkPlace`](./types.IWorkPlace.html)

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

***

### value

**value**: `string`

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

***

### text

`readonly` **text**: `string`

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

***

### editorDocument

`readonly` **editorDocument**: [`HTMLDocument`](https://developer.mozilla.org/docs/Web/API/HTMLDocument)

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

***

### ed

`readonly` **ed**: [`HTMLDocument`](https://developer.mozilla.org/docs/Web/API/HTMLDocument)

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

Alias for this.ed

***

### editorWindow

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

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

***

### ew

`readonly` **ew**: [`Window`](https://developer.mozilla.org/docs/Web/API/Window)

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

Alias for this.ed

***

### createInside

`readonly` **createInside**: [`ICreate`](./types.ICreate.html)

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

***

### selection

`readonly` **selection**: [`ISelect`](./types.ISelect.html)

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

***

### s

`readonly` **s**: [`ISelect`](./types.ISelect.html)

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

Alias for this.selection

***

### mode

`readonly` **mode**: [`Modes`](../modules/types.html#modes)

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

***

### editorIsActive

`readonly` **editorIsActive**: `boolean`

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

***

### isFocused

`readonly` **isFocused**: `boolean`

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

***

### workplace

`readonly` **workplace**: [`HTMLDivElement`](https://developer.mozilla.org/docs/Web/API/HTMLDivElement)

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

workplace It contains source and wysiwyg editors

***

### statusbar

`readonly` **statusbar**: [`IStatusBar`](./types.IStatusBar.html)

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

***

### uploader

`readonly` **uploader**: [`IUploader`](./types.IUploader.html)

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

***

### filebrowser

`readonly` **filebrowser**: [`IFileBrowser`](./types.IFileBrowser.html)

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

***

### iframe?

`optional` **iframe?**: `void` \| [`HTMLIFrameElement`](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement)

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

***

### mods

**mods**: [`IDictionary`](../modules/types.html#idictionary)\<[`ModType`](../modules/types.html#modtype)\>

Defined in: [src/types/traits.d.ts:28](https://github.com/xdan/jodit/blob/main/src/types/traits.d.ts#L28)

#### Inherited from

[`IViewWithToolbar`](./types.IViewWithToolbar.html).[`mods`](./types.IViewWithToolbar.html#mods)

***

### container

**container**: [`HTMLElement`](https://developer.mozilla.org/docs/Web/API/HTMLElement)

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

#### Inherited from

[`IViewWithToolbar`](./types.IViewWithToolbar.html).[`container`](./types.IViewWithToolbar.html#container)

***

### async

`readonly` **async**: [`IAsync`](./types.IAsync.html)

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

#### Inherited from

[`IViewWithToolbar`](./types.IViewWithToolbar.html).[`async`](./types.IViewWithToolbar.html#async)

***

### ownerDocument

`readonly` **ownerDocument**: [`Document`](https://developer.mozilla.org/docs/Web/API/Document)

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

#### Inherited from

[`IViewWithToolbar`](./types.IViewWithToolbar.html).[`ownerDocument`](./types.IViewWithToolbar.html#ownerdocument)

***

### od

`readonly` **od**: [`Document`](https://developer.mozilla.org/docs/Web/API/Document)

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

#### Inherited from

[`IViewWithToolbar`](./types.IViewWithToolbar.html).[`od`](./types.IViewWithToolbar.html#od)

***

### ownerWindow

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

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

#### Inherited from

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

***

### ow

`readonly` **ow**: [`Window`](https://developer.mozilla.org/docs/Web/API/Window)

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

#### Inherited from

[`IViewWithToolbar`](./types.IViewWithToolbar.html).[`ow`](./types.IViewWithToolbar.html#ow)

***

### componentName

`readonly` **componentName**: `string`

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

#### Inherited from

[`IViewWithToolbar`](./types.IViewWithToolbar.html).[`componentName`](./types.IViewWithToolbar.html#componentname)

***

### uid

`readonly` **uid**: `string`

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

#### Inherited from

[`IViewWithToolbar`](./types.IViewWithToolbar.html).[`uid`](./types.IViewWithToolbar.html#uid)

***

### isDestructed

`readonly` **isDestructed**: `boolean`

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

#### Inherited from

[`IViewWithToolbar`](./types.IViewWithToolbar.html).[`isDestructed`](./types.IViewWithToolbar.html#isdestructed)

***

### isInDestruct

`readonly` **isInDestruct**: `boolean`

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

#### Inherited from

[`IViewWithToolbar`](./types.IViewWithToolbar.html).[`isInDestruct`](./types.IViewWithToolbar.html#isindestruct)

***

### isReady

`readonly` **isReady**: `boolean`

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

#### Inherited from

[`IViewWithToolbar`](./types.IViewWithToolbar.html).[`isReady`](./types.IViewWithToolbar.html#isready)

***

### componentStatus

`readonly` **componentStatus**: [`ComponentStatus`](../modules/types.html#componentstatus)

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

#### Inherited from

[`IViewWithToolbar`](./types.IViewWithToolbar.html).[`componentStatus`](./types.IViewWithToolbar.html#componentstatus)

***

### isView

`readonly` **isView**: `true`

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

#### Inherited from

[`IViewWithToolbar`](./types.IViewWithToolbar.html).[`isView`](./types.IViewWithToolbar.html#isview)

***

### parent

`readonly` **parent**: [`Nullable`](../modules/types.html#nullable)\<[`IViewBased`](./types.IViewBased.html)\<[`IViewOptions`](./types.IViewOptions.html)\>\>

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

#### Inherited from

[`IViewWithToolbar`](./types.IViewWithToolbar.html).[`parent`](./types.IViewWithToolbar.html#parent)

***

### id

`readonly` **id**: `string`

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

ID attribute for a source element, id add {id}_editor it's editor's id

#### Inherited from

[`IViewWithToolbar`](./types.IViewWithToolbar.html).[`id`](./types.IViewWithToolbar.html#id)

***

### basePath

`readonly` **basePath**: `string`

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

#### Inherited from

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

***

### minified

`readonly` **minified**: `boolean`

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

#### Inherited from

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

***

### isLocked

`readonly` **isLocked**: `boolean`

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

#### Inherited from

[`IViewWithToolbar`](./types.IViewWithToolbar.html).[`isLocked`](./types.IViewWithToolbar.html#islocked)

***

### isFullSize

`readonly` **isFullSize**: `boolean`

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

#### Inherited from

[`IViewWithToolbar`](./types.IViewWithToolbar.html).[`isFullSize`](./types.IViewWithToolbar.html#isfullsize)

***

### buffer

`readonly` **buffer**: [`IStorage`](./types.IStorage.html)

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

#### Inherited from

[`IViewWithToolbar`](./types.IViewWithToolbar.html).[`buffer`](./types.IViewWithToolbar.html#buffer)

***

### ~~storage~~

`readonly` **storage**: [`IStorage`](./types.IStorage.html)

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

#### Deprecated

Use asyncStorage instead

#### Inherited from

[`IViewWithToolbar`](./types.IViewWithToolbar.html).[`storage`](./types.IViewWithToolbar.html#storage)

***

### asyncStorage

`readonly` **asyncStorage**: [`IAsyncStorage`](./types.IAsyncStorage.html)

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

#### Inherited from

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

***

### progressbar

`readonly` **progressbar**: [`IProgressBar`](./types.IProgressBar.html)

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

#### Inherited from

[`IViewWithToolbar`](./types.IViewWithToolbar.html).[`progressbar`](./types.IViewWithToolbar.html#progressbar)

***

### events

`readonly` **events**: [`IEventEmitter`](./types.IEventEmitter.html)

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

#### Inherited from

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

***

### e

`readonly` **e**: [`IEventEmitter`](./types.IEventEmitter.html)

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

#### Inherited from

[`IViewWithToolbar`](./types.IViewWithToolbar.html).[`e`](./types.IViewWithToolbar.html#e)

***

### create

`readonly` **create**: [`ICreate`](./types.ICreate.html)

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

#### Inherited from

[`IViewWithToolbar`](./types.IViewWithToolbar.html).[`create`](./types.IViewWithToolbar.html#create)

***

### c

`readonly` **c**: [`ICreate`](./types.ICreate.html)

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

#### Inherited from

[`IViewWithToolbar`](./types.IViewWithToolbar.html).[`c`](./types.IViewWithToolbar.html#c)

***

### OPTIONS

`readonly` **OPTIONS**: [`IViewOptions`](./types.IViewOptions.html)

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

#### Inherited from

[`IViewWithToolbar`](./types.IViewWithToolbar.html).[`OPTIONS`](./types.IViewWithToolbar.html#options)

***

### o

`readonly` **o**: [`Config`](../options.html)

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

#### Inherited from

[`IViewWithToolbar`](./types.IViewWithToolbar.html).[`o`](./types.IViewWithToolbar.html#o)

***

### defaultTimeout

`readonly` **defaultTimeout**: `number`

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

#### Inherited from

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

***

### components

`readonly` **components**: [`Set`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Set)\<[`IComponent`](./types.IComponent.html)\<[`IViewBased`](./types.IViewBased.html)\<[`IViewOptions`](./types.IViewOptions.html)\>\>\>

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

#### Inherited from

[`IViewWithToolbar`](./types.IViewWithToolbar.html).[`components`](./types.IViewWithToolbar.html#components)

***

### message

`readonly` **message**: [`IMessages`](./types.IMessages.html)

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

#### Inherited from

[`IViewWithToolbar`](./types.IViewWithToolbar.html).[`message`](./types.IViewWithToolbar.html#message)

***

### toolbar

**toolbar**: [`IToolbarCollection`](./types.IToolbarCollection.html)

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

#### Inherited from

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

***

### toolbarContainer

**toolbarContainer**: [`HTMLElement`](https://developer.mozilla.org/docs/Web/API/HTMLElement)

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

#### Inherited from

[`IViewWithToolbar`](./types.IViewWithToolbar.html).[`toolbarContainer`](./types.IViewWithToolbar.html#toolbarcontainer)

***

### registeredButtons

**registeredButtons**: [`Set`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Set)\<[`IPluginButton`](./types.IPluginButton.html)\>

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

#### Inherited from

[`IViewWithToolbar`](./types.IViewWithToolbar.html).[`registeredButtons`](./types.IViewWithToolbar.html#registeredbuttons)

### getNativeEditorValue()

**getNativeEditorValue**(): `string`

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

#### Returns

`string`

***

### getEditorValue()

**getEditorValue**(`removeSelectionMarkers?`, `consumer?`): `string`

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

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `removeSelectionMarkers?` | `boolean` |
| `consumer?` | `string` |

#### Returns

`string`

***

### setEditorValue()

**setEditorValue**(`value?`): `void`

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

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `value?` | `string` |

#### Returns

`void`

***

### getElementValue()

**getElementValue**(): `string`

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

Only getter

#### Returns

`string`

***

### getReadOnly()

**getReadOnly**(): `boolean`

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

#### Returns

`boolean`

***

### setReadOnly()

**setReadOnly**(`enable`): `void`

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

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `enable` | `boolean` |

#### Returns

`void`

***

### addPlace()

**addPlace**(`source`, `options?`): `void`

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

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `source` | `string` \| [`HTMLElement`](https://developer.mozilla.org/docs/Web/API/HTMLElement) |
| `options?` | [`IViewOptions`](./types.IViewOptions.html) |

#### Returns

`void`

***

### setCurrentPlace()

**setCurrentPlace**(`place`): `void`

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

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `place` | [`IWorkPlace`](./types.IWorkPlace.html) |

#### Returns

`void`

***

### waitForReady()

**waitForReady**(): [`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<`IJodit`\>

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

#### Returns

[`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<`IJodit`\>

***

### getRealMode()

**getRealMode**(): [`Modes`](../modules/types.html#modes)

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

Return current real work mode. When editor in MODE_SOURCE or MODE_WYSIWYG it will
return them, but then editor in MODE_SPLIT it will return MODE_SOURCE if
Textarea(CodeMirror) focused or MODE_WYSIWYG otherwise

#### Returns

[`Modes`](../modules/types.html#modes)

#### Example

```javascript
var editor = Jodit.make('#editor');
console.log(editor.getRealMode());
```

***

### getMode()

**getMode**(): [`Modes`](../modules/types.html#modes)

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

#### Returns

[`Modes`](../modules/types.html#modes)

***

### isEditorMode()

**isEditorMode**(): `boolean`

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

#### Returns

`boolean`

***

### toggleMode()

**toggleMode**(): `void`

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

#### Returns

`void`

***

### focus()

**focus**(): `void`

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

#### Returns

`void`

***

### fetch()

**fetch**\<`Response`\>(`url`, `options?`): [`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<[`IResponse`](./types.IResponse.html)\<`Response`\>\>

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

#### Type Parameters

| Type Parameter | Default type |
| ------ | ------ |
| `Response` *extends* `object` | `any` |

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `url` | `string` |
| `options?` | [`Partial`](https://www.typescriptlang.org/docs/handbook/utility-types.html#partialtype)\<[`AjaxOptions`](./types.AjaxOptions.html)\> |

#### Returns

[`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<[`IResponse`](./types.IResponse.html)\<`Response`\>\>

***

### execCommand()

**execCommand**(`command`, `showUI?`, `value?`, ...`args`): `any`

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

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `command` | `string` |
| `showUI?` | `any` |
| `value?` | `any` |
| ...`args?` | `unknown`[] |

#### Returns

`any`

***

### nativeExecCommand()

**nativeExecCommand**(`command`, `showUI?`, `value?`): `boolean`

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

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `command` | `string` |
| `showUI?` | `any` |
| `value?` | `any` |

#### Returns

`boolean`

***

### registerCommand()

**registerCommand**\<`C`\>(`commandNameOriginal`, `command`, `options?`): `IJodit`

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

#### Type Parameters

| Type Parameter |
| ------ |
| `C` *extends* `string` |

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `commandNameOriginal` | `C` |
| `command` | [`CustomCommand`](../modules/types.html#customcommand)\<`IJodit`, `C`\> |
| `options?` | \{ `stopPropagation`: `boolean`; \} |
| `options.stopPropagation?` | `boolean` |

#### Returns

`IJodit`

***

### registerHotkeyToCommand()

**registerHotkeyToCommand**(`hotkeys`, `commandName`, `shouldStop?`): `void`

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

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `hotkeys` | `string` \| `string`[] |
| `commandName` | `string` |
| `shouldStop?` | `boolean` |

#### Returns

`void`

***

### setMod()

**setMod**\<`T`\>(`this`, `name`, `value`): `T`

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

Set/remove modification (null - remove)

#### Type Parameters

| Type Parameter |
| ------ |
| `T` *extends* [`IComponent`](./types.IComponent.html)\<[`IViewBased`](./types.IViewBased.html)\<[`IViewOptions`](./types.IViewOptions.html)\>\> & [`IContainer`](./types.IContainer.html) & [`IMods`](./types.IMods.html) |

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `T` |
| `name` | `string` |
| `value` | [`ModType`](../modules/types.html#modtype) |

#### Returns

`T`

#### Inherited from

[`IViewWithToolbar`](./types.IViewWithToolbar.html).[`setMod`](./types.IViewWithToolbar.html#setmod)

***

### afterSetMod()

**afterSetMod**(`name`, `value`): `void`

Defined in: [src/types/traits.d.ts:25](https://github.com/xdan/jodit/blob/main/src/types/traits.d.ts#L25)

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `name` | `string` |
| `value` | [`ModType`](../modules/types.html#modtype) |

#### Returns

`void`

#### Inherited from

[`IViewWithToolbar`](./types.IViewWithToolbar.html).[`afterSetMod`](./types.IViewWithToolbar.html#aftersetmod)

***

### getMod()

**getMod**(`name`): [`ModType`](../modules/types.html#modtype)

Defined in: [src/types/traits.d.ts:27](https://github.com/xdan/jodit/blob/main/src/types/traits.d.ts#L27)

#### Parameters

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

#### Returns

[`ModType`](../modules/types.html#modtype)

#### Inherited from

[`IViewWithToolbar`](./types.IViewWithToolbar.html).[`getMod`](./types.IViewWithToolbar.html#getmod)

***

### getElm()

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

Defined in: [src/types/traits.d.ts:32](https://github.com/xdan/jodit/blob/main/src/types/traits.d.ts#L32)

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `elementName` | `string` |

#### Returns

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

#### Inherited from

[`IViewWithToolbar`](./types.IViewWithToolbar.html).[`getElm`](./types.IViewWithToolbar.html#getelm)

***

### getElms()

**getElms**(`elementName`): [`HTMLElement`](https://developer.mozilla.org/docs/Web/API/HTMLElement)[]

Defined in: [src/types/traits.d.ts:33](https://github.com/xdan/jodit/blob/main/src/types/traits.d.ts#L33)

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `elementName` | `string` |

#### Returns

[`HTMLElement`](https://developer.mozilla.org/docs/Web/API/HTMLElement)[]

#### Inherited from

[`IViewWithToolbar`](./types.IViewWithToolbar.html).[`getElms`](./types.IViewWithToolbar.html#getelms)

***

### dlg()

**dlg**(`options?`): [`IDialog`](./types.IDialog.html)

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

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `options?` | [`IDialogOptions`](./types.IDialogOptions.html) |

#### Returns

[`IDialog`](./types.IDialog.html)

#### Inherited from

[`IDlgs`](./types.IDlgs.html).[`dlg`](./types.IDlgs.html#dlg)

***

### confirm()

**confirm**(`msg`, `title`, `callback?`): [`IDialog`](./types.IDialog.html)

Defined in: [src/types/traits.d.ts:39](https://github.com/xdan/jodit/blob/main/src/types/traits.d.ts#L39)

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `msg` | `string` |
| `title` | `string` \| ((`yes`) => `void`) \| `undefined` |
| `callback?` | (`yes`) => `false` \| `void` |

#### Returns

[`IDialog`](./types.IDialog.html)

#### Inherited from

[`IDlgs`](./types.IDlgs.html).[`confirm`](./types.IDlgs.html#confirm)

***

### prompt()

**prompt**(`msg`, `title`, `callback`, `placeholder?`, `defaultValue?`): [`IDialog`](./types.IDialog.html)

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

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `msg` | `string` |
| `title` | `string` \| (() => `false` \| `void`) \| `undefined` |
| `callback` | (`value`) => `false` \| `void` |
| `placeholder?` | `string` |
| `defaultValue?` | `string` |

#### Returns

[`IDialog`](./types.IDialog.html)

#### Inherited from

[`IDlgs`](./types.IDlgs.html).[`prompt`](./types.IDlgs.html#prompt)

***

### alert()

**alert**(`msg`, `title?`, `callback?`, `className?`): [`IDialog`](./types.IDialog.html)

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

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `msg` | `string` \| [`HTMLElement`](https://developer.mozilla.org/docs/Web/API/HTMLElement) |
| `title?` | `string` \| (() => `false` \| `void`) |
| `callback?` | `string` \| ((`dialog`) => `false` \| `void`) |
| `className?` | `string` |

#### Returns

[`IDialog`](./types.IDialog.html)

#### Inherited from

[`IDlgs`](./types.IDlgs.html).[`alert`](./types.IDlgs.html#alert)

***

### destruct()

**destruct**(`jodit?`): `any`

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

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `jodit?` | [`IViewBased`](./types.IViewBased.html)\<[`IViewOptions`](./types.IViewOptions.html)\> |

#### Returns

`any`

#### Inherited from

[`IViewWithToolbar`](./types.IViewWithToolbar.html).[`destruct`](./types.IViewWithToolbar.html#destruct)

***

### get()

**get**\<`T`\>(`chain`, `obj?`): [`Nullable`](../modules/types.html#nullable)\<`T`\>

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

#### Type Parameters

| Type Parameter |
| ------ |
| `T` |

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `chain` | `string` |
| `obj?` | [`IDictionary`](../modules/types.html#idictionary)\<`any`, `string`\> |

#### Returns

[`Nullable`](../modules/types.html#nullable)\<`T`\>

#### Inherited from

[`IViewWithToolbar`](./types.IViewWithToolbar.html).[`get`](./types.IViewWithToolbar.html#get)

***

### className()

**className**(): `string`

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

#### Returns

`string`

#### Inherited from

[`IViewWithToolbar`](./types.IViewWithToolbar.html).[`className`](./types.IViewWithToolbar.html#classname)

***

#### Call Signature

**getFullElName**(`elementName`): `string`

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

##### Parameters

| Parameter | Type |
| ------ | ------ |
| `elementName` | `string` |

##### Returns

`string`

##### Inherited from

[`IViewWithToolbar`](./types.IViewWithToolbar.html).[`getFullElName`](./types.IViewWithToolbar.html#getfullelname)

#### Call Signature

**getFullElName**(`elementName`, `mod`): `string`

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

##### Parameters

| Parameter | Type |
| ------ | ------ |
| `elementName` | `string` |
| `mod` | `string` |

##### Returns

`string`

##### Inherited from

[`IViewWithToolbar`](./types.IViewWithToolbar.html).[`getFullElName`](./types.IViewWithToolbar.html#getfullelname)

#### Call Signature

**getFullElName**(`elementName`, `mod?`, `modValue?`): `string`

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

##### Parameters

| Parameter | Type |
| ------ | ------ |
| `elementName` | `string` |
| `mod?` | `string` |
| `modValue?` | `string` \| `boolean` |

##### Returns

`string`

##### Inherited from

[`IViewWithToolbar`](./types.IViewWithToolbar.html).[`getFullElName`](./types.IViewWithToolbar.html#getfullelname)

***

### setStatus()

**setStatus**(`componentStatus`): `void`

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

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `componentStatus` | [`ComponentStatus`](../modules/types.html#componentstatus) |

#### Returns

`void`

#### Inherited from

[`IViewWithToolbar`](./types.IViewWithToolbar.html).[`setStatus`](./types.IViewWithToolbar.html#setstatus)

***

### hookStatus()

**hookStatus**(`status`, `callback`): `void`

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

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `status` | [`ComponentStatus`](../modules/types.html#componentstatus) |
| `callback` | (`component`) => `void` |

#### Returns

`void`

#### Inherited from

[`IViewWithToolbar`](./types.IViewWithToolbar.html).[`hookStatus`](./types.IViewWithToolbar.html#hookstatus)

***

### bindDestruct()

**bindDestruct**(`component`): `this`

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

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `component` | [`IComponent`](./types.IComponent.html) |

#### Returns

`this`

#### Inherited from

[`IViewWithToolbar`](./types.IViewWithToolbar.html).[`bindDestruct`](./types.IViewWithToolbar.html#binddestruct)

***

### isLockedNotBy()

**isLockedNotBy**(`name`): `boolean`

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

#### Parameters

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

#### Returns

`boolean`

#### Inherited from

[`IViewWithToolbar`](./types.IViewWithToolbar.html).[`isLockedNotBy`](./types.IViewWithToolbar.html#islockednotby)

***

### lock()

**lock**(`name?`): `boolean`

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

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `name?` | `string` |

#### Returns

`boolean`

#### Inherited from

[`IViewWithToolbar`](./types.IViewWithToolbar.html).[`lock`](./types.IViewWithToolbar.html#lock)

***

### unlock()

**unlock**(): `boolean`

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

#### Returns

`boolean`

#### Inherited from

[`IViewWithToolbar`](./types.IViewWithToolbar.html).[`unlock`](./types.IViewWithToolbar.html#unlock)

***

### toggleFullSize()

**toggleFullSize**(`isFullSize?`): `void`

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

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `isFullSize?` | `boolean` |

#### Returns

`void`

#### Inherited from

[`IViewWithToolbar`](./types.IViewWithToolbar.html).[`toggleFullSize`](./types.IViewWithToolbar.html#togglefullsize)

***

### i18n()

**i18n**(`text`, ...`params`): `string`

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

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `text` | `string` |
| ...`params` | (`string` \| `number`)[] |

#### Returns

`string`

#### Inherited from

`IViewWithToolbar.i18n`

***

### getVersion()

**getVersion**(): `string`

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

#### Returns

`string`

#### Inherited from

[`IViewWithToolbar`](./types.IViewWithToolbar.html).[`getVersion`](./types.IViewWithToolbar.html#getversion)

***

#### Call Signature

**getInstance**\<`T`\>(`module`, `options?`): `T`

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

##### Type Parameters

| Type Parameter |
| ------ |
| `T` *extends* [`IComponent`](./types.IComponent.html)\<[`IViewBased`](./types.IViewBased.html)\<[`IViewOptions`](./types.IViewOptions.html)\>\> |

##### Parameters

| Parameter | Type |
| ------ | ------ |
| `module` | [`Function`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function) |
| `options?` | `object` |

##### Returns

`T`

##### Inherited from

[`IViewWithToolbar`](./types.IViewWithToolbar.html).[`getInstance`](./types.IViewWithToolbar.html#getinstance)

#### Call Signature

**getInstance**\<`T`\>(`moduleName`, `options?`): `T`

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

##### Type Parameters

| Type Parameter |
| ------ |
| `T` *extends* [`IComponent`](./types.IComponent.html)\<[`IViewBased`](./types.IViewBased.html)\<[`IViewOptions`](./types.IViewOptions.html)\>\> |

##### Parameters

| Parameter | Type |
| ------ | ------ |
| `moduleName` | `string` |
| `options?` | `object` |

##### Returns

`T`

##### Inherited from

[`IViewWithToolbar`](./types.IViewWithToolbar.html).[`getInstance`](./types.IViewWithToolbar.html#getinstance)

***

### registerButton()

**registerButton**(`btn`): `this`

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

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `btn` | [`IPluginButton`](./types.IPluginButton.html) |

#### Returns

`this`

#### Inherited from

[`IViewWithToolbar`](./types.IViewWithToolbar.html).[`registerButton`](./types.IViewWithToolbar.html#registerbutton)

***

### unregisterButton()

**unregisterButton**(`btn`): `this`

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

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `btn` | [`IPluginButton`](./types.IPluginButton.html) |

#### Returns

`this`

#### Inherited from

[`IViewWithToolbar`](./types.IViewWithToolbar.html).[`unregisterButton`](./types.IViewWithToolbar.html#unregisterbutton)

***

### getRegisteredButtonGroups()

**getRegisteredButtonGroups**(): [`IDictionary`](../modules/types.html#idictionary)\<`string`[]\>

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

#### Returns

[`IDictionary`](../modules/types.html#idictionary)\<`string`[]\>

#### Inherited from

[`IViewWithToolbar`](./types.IViewWithToolbar.html).[`getRegisteredButtonGroups`](./types.IViewWithToolbar.html#getregisteredbuttongroups)

***

### setPanel()

**setPanel**(`element`): `void`

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

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `element` | `string` \| [`HTMLElement`](https://developer.mozilla.org/docs/Web/API/HTMLElement) |

#### Returns

`void`

#### Inherited from

[`IViewWithToolbar`](./types.IViewWithToolbar.html).[`setPanel`](./types.IViewWithToolbar.html#setpanel)
