---
title: "Hide or customize text selection tooltip in JS viewer | Nutrient"
canonical_url: "https://www.nutrient.io/guides/web/user-interface/inline-text-selection-toolbar/tooltip/"
md_url: "https://www.nutrient.io/guides/web/user-interface/inline-text-selection-toolbar/tooltip.md"
last_updated: "2026-06-08T09:14:14.481Z"
description: "Nutrient Web SDK comes with a built-in toolbar that shows whenever text is selected on a document."
---

# Customize the text selection tooltip in our viewer

Nutrient Web SDK comes with a built-in toolbar that shows whenever text is selected on a document.

These are the toolbar’s default button types:

- highlight

- strikeout

- underline

- squiggle

- comment

If you purchased our [Redaction](https://www.nutrient.io/guides/web/user-interface/redaction.md) component, the `redact-text-highlighter` button type will also show up.

As with any other aspect of our SDK, this toolbar is customizable. So, for example, if you want to hide the `strikeout`, `underline`, and `squiggle` buttons, you can do so using [CSS](https://www.nutrient.io/guides/web/customizing-the-interface/css-customization.md):

```css.PSPDFKit-Text-Markup-Inline-Toolbar-Strike-Out,.PSPDFKit-Text-Markup-Inline-Toolbar-Underline,.PSPDFKit-Text-Markup-Inline-Toolbar-Squiggle {
  display: none;
}

```

If you’d like more advanced customizability, such as adding custom buttons or a custom node, add a new inline text selection tool using our [customization API](https://www.nutrient.io/guides/web/user-interface/inline-text-selection-toolbar/create-a-new-tool.md).
---

## Related pages

- [Create a new inline text selection tool in the viewer toolbar](/guides/web/user-interface/inline-text-selection-toolbar/create-a-new-tool.md)
- [Customizing existing tools in our inline text selection toolbar](/guides/web/user-interface/inline-text-selection-toolbar/customize-existing-tools.md)
- [Remove inline text selection tools](/guides/web/user-interface/inline-text-selection-toolbar/remove-a-tool.md)
- [Rearranging inline text selection tools in the viewer toolbar](/guides/web/user-interface/inline-text-selection-toolbar/rearrange-items.md)
- [Remove all tools from the inline text selection toolbar](/guides/web/user-interface/inline-text-selection-toolbar/remove-all-tools.md)

