---
title: "Инструмент «Зачёркивание» — зачёркнутый текст"
description: "Зачёркивает выделение из строчного тулбара; здесь же разметка, которую Blok кладёт внутрь текстового поля блока."
source: https://blokeditor.com/ru/docs/strikethrough/
lastmod: 2026-09-07
---

Фреймворк JavaScript

Строчные инструменты Зачёркнутый

# Зачёркивание: зачёркнутый текст

Оборачивает выделенный текст в `<s>`. Включается сочетанием Cmd/Ctrl+Shift+S или кнопкой S на строчной панели инструментов.

### Импорт

TypeScript

```
import { Strikethrough } from '@bloklabs/core/tools';
```

### Формат данных

TypeScript

```
// Stored as HTML inside the block's text field.
// "Hello <s>world</s>"
```

JSON

```
{
  "type": "paragraph",
  "data": { "text": "Hello <s>world</s>" }
}
```

### Пример использования

TypeScript

```
import { Blok } from '@bloklabs/core';
import { Strikethrough, Paragraph } from '@bloklabs/core/tools';

const editor = new Blok({
  holder: 'editor',
  tools: {
    // Paragraph is the default block and is not bundled with the core —
    // without it the editor starts with an "unsupported block" stub.
    paragraph: Paragraph,
    strikethrough: Strikethrough,
  },
});
```
