---
title: "ISnapshot"
---
# ISnapshot

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

### isBlocked

`readonly` **isBlocked**: `boolean`

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

### make()

**make**(): [`SnapshotType`](./types.SnapshotType.html)

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

#### Returns

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

***

### restoreOnlySelection()

**restoreOnlySelection**(`snapshot`): `void`

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

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `snapshot` | [`SnapshotType`](./types.SnapshotType.html) |

#### Returns

`void`

***

### restore()

**restore**(`snapshot`): `void`

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

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `snapshot` | [`SnapshotType`](./types.SnapshotType.html) |

#### Returns

`void`

***

### transaction()

**transaction**(`changes`): `void`

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

Pack all changes in one transaction without creating history point

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `changes` | () => `void` |

#### Returns

`void`
