<p>The name to use to hide the Strikethrough button is <code>deleted</code>.</p>

CC BY-SA 4.0
2020-04-09T11:44:40.260Z
Of course it is...  Thanks @Oli . I can confirm this works.
joep
CC BY-SA 4.0
2020-04-09T09:20:45.810Z
2020-04-09T09:20:45.810Z
Oli
<p>I am trying to set a Redactor field so that it only shows the table button, though no matter what I do... the strikethrough button appears, it looks like the correct name is <code>strike</code> though doesn't appear to work (tried multiple variations) though no luck. Are there any suggestions on how to hide it? Here is my redactor config:</p>

<pre><code>{
  "buttonsHide": ["link", "lists", "strikethrough", "Strikethrough", "strike", "italic", "bold", "format", "html"],
  "plugins": ["table"]
}
</code></pre>

CC BY-SA 4.0
2020-04-07T14:07:04.357Z
Are you selecting the right config in Settings → Fields → yourRedactorField **Redactor Config** and is it a different one than *Default*?
Oli
CC BY-SA 4.0
2020-04-08T15:24:50.313Z
Yep! The other buttons in the `buttonsHide` array are being hidden, so the config is working... just not with the strikethrough button.
joep
<redactor><table>
Cannot hide redactor strikethrough button when table plugin is enabled
# Cannot hide redactor strikethrough button when table plugin is enabled

(Asked by: username_0 on 2020-04-07)

I am trying to set a Redactor field so that it only shows the table button, though no matter what I do... the strikethrough button appears, it looks like the correct name is strike though doesn't appear to work (tried multiple variations) though no luck. Are there any suggestions on how to hide it? Here is my redactor config:
{
  "buttonsHide": ["link", "lists", "strikethrough", "Strikethrough", "strike", "italic", "bold", "format", "html"],
  "plugins": ["table"]
}

**Tags:** redactor, table

> **Comments:**
> **username_1**: Are you selecting the right config in Settings → Fields → yourRedactorField **Redactor Config** and is it a different one than *Default*?  
> **username_0**: Yep! The other buttons in the `buttonsHide` array are being hidden, so the config is working... just not with the strikethrough button.  

---

## 1 answers

### Answer by username_1 on 2020-04-09. Score: 2 | Accepted answer

The name to use to hide the Strikethrough button is `deleted`.

> **Comments:**
> **username_0**: Of course it is...  Thanks @username_1 . I can confirm this works.  

---

