---
title: "Strikethrough Inline Tool — Crossed-Out Text"
description: "Strike through a selection from the inline toolbar, and the markup Blok stores inside the block's text field."
source: https://blokeditor.com/docs/strikethrough/
lastmod: 2026-09-07
---

Framework JavaScript

Inline Tools Strikethrough

# Strikethrough: crossed-out text in Blok

Wraps selected text in `<s>`. Activated with Cmd/Ctrl+Shift+S or by clicking the S button in the inline toolbar.

### Import

TypeScript

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

### Save Data

TypeScript

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

JSON

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

### Usage Example

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,
  },
});
```
