# Removing the 'Redact' button

**URL:** <https://forum.mupdf.com/t/removing-the-redact-button/205>\
**Category:** WebViewer\
**Created:** [November 25, 2025, 3:25pm UTC](https://forum.mupdf.com/t/removing-the-redact-button/205 "2025-11-25T15:25:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![39rc](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.mupdf.com/39rc/32/256_2.png) [@39rc](https://forum.mupdf.com/u/39rc)\
**Post date:** [November 25, 2025, 3:25pm UTC](https://forum.mupdf.com/t/removing-the-redact-button/205/1 "2025-11-25T15:25:36Z")

</div>

Is there a way remove the ‘Redact’ button without removing the toolbar itself?

The reason why i’d like this is because I want to add a new button to the toolbar but get rid of the ‘Redact’ button.

Thanks

---

<div class="post-metadata">

**Author:** ![Jamie\_Lemon](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.mupdf.com/jamie_lemon/32/5_2.png) [@Jamie\_Lemon](https://forum.mupdf.com/u/Jamie_Lemon)\
**Post date:** [November 26, 2025, 3:05pm UTC](https://forum.mupdf.com/t/removing-the-redact-button/205/2 "2025-11-26T15:05:57Z")

</div>

We will put this on our list - no reason not to easily add this API I think. Will keep you updated.

---

<div class="post-metadata">

**Author:** ![Jamie\_Lemon](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.mupdf.com/jamie_lemon/32/5_2.png) [@Jamie\_Lemon](https://forum.mupdf.com/u/Jamie_Lemon)\
**Post date:** [December 8, 2025, 3:13pm UTC](https://forum.mupdf.com/t/removing-the-redact-button/205/3 "2025-12-08T15:13:35Z")

</div>

@39rc Please update to the latest version on NPM `0.12.1` and use `ANNOTATION_REDACTION` to hide this button - see: [References - MuPDF WebViewer](https://webviewer-docs.mupdf.com/api-reference/refs#view) .. Note: We may rename this to `TOOLBAR_REDACTION` at some point as I believe the naming here is confusing! However, in the meantime please just use this `ref`

---

<div class="post-metadata">

**Author:** ![Jamie\_Lemon](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.mupdf.com/jamie_lemon/32/5_2.png) [@Jamie\_Lemon](https://forum.mupdf.com/u/Jamie_Lemon)\
**Post date:** [December 8, 2025, 4:15pm UTC](https://forum.mupdf.com/t/removing-the-redact-button/205/4 "2025-12-08T16:15:57Z")

</div>

@39rc My bad, I had just misunderstood things here - the reference is (and always was)`TOOLBAR_REDACTION`in version `0.12.1`. Please use `TOOLBAR_REDACTION`, I have also updated the docs!
