Skip to content

Commit 500caf9

Browse files
committed
Add document-protect to Document UI category
Include the `document-protect` item in the Document category of the customizing-ui docs for React, Snippet, Svelte, and Vue. This updates the docs so the new document protection control is recognized as part of the UI categories and can be enabled/disabled like other document actions.
1 parent 2f858d1 commit 500caf9

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

website/src/content/docs/react/viewer/customizing-ui.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Categories are hierarchical—disabling a parent category (e.g., `annotation`) d
5454
| **Annotation** | `annotation`, `annotation-markup`, `annotation-highlight`, `annotation-underline`, `annotation-strikeout`, `annotation-squiggly`, `annotation-ink`, `annotation-text`, `annotation-stamp` |
5555
| **Shapes** | `annotation-shape`, `annotation-rectangle`, `annotation-circle`, `annotation-line`, `annotation-arrow`, `annotation-polygon`, `annotation-polyline` |
5656
| **Redaction** | `redaction`, `redaction-area`, `redaction-text`, `redaction-apply`, `redaction-clear` |
57-
| **Document** | `document`, `document-open`, `document-close`, `document-print`, `document-capture`, `document-export`, `document-fullscreen` |
57+
| **Document** | `document`, `document-open`, `document-close`, `document-print`, `document-capture`, `document-export`, `document-fullscreen`, `document-protect` |
5858
| **Page** | `page`, `spread`, `rotate`, `scroll`, `navigation` |
5959
| **Panel** | `panel`, `panel-sidebar`, `panel-search`, `panel-comment` |
6060
| **Tools** | `tools`, `pan`, `pointer`, `capture` |

website/src/content/docs/snippet/customizing-ui.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Categories are hierarchical—disabling a parent category (e.g., `annotation`) d
4848
| **Annotation** | `annotation`, `annotation-markup`, `annotation-highlight`, `annotation-underline`, `annotation-strikeout`, `annotation-squiggly`, `annotation-ink`, `annotation-text`, `annotation-stamp` |
4949
| **Shapes** | `annotation-shape`, `annotation-rectangle`, `annotation-circle`, `annotation-line`, `annotation-arrow`, `annotation-polygon`, `annotation-polyline` |
5050
| **Redaction** | `redaction`, `redaction-area`, `redaction-text`, `redaction-apply`, `redaction-clear` |
51-
| **Document** | `document`, `document-open`, `document-close`, `document-print`, `document-capture`, `document-export`, `document-fullscreen` |
51+
| **Document** | `document`, `document-open`, `document-close`, `document-print`, `document-capture`, `document-export`, `document-fullscreen`, `document-protect` |
5252
| **Page** | `page`, `spread`, `rotate`, `scroll`, `navigation` |
5353
| **Panel** | `panel`, `panel-sidebar`, `panel-search`, `panel-comment` |
5454
| **Tools** | `tools`, `pan`, `pointer`, `capture` |

website/src/content/docs/svelte/viewer/customizing-ui.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Categories are hierarchical—disabling a parent category (e.g., `annotation`) d
4949
| **Annotation** | `annotation`, `annotation-markup`, `annotation-highlight`, `annotation-underline`, `annotation-strikeout`, `annotation-squiggly`, `annotation-ink`, `annotation-text`, `annotation-stamp` |
5050
| **Shapes** | `annotation-shape`, `annotation-rectangle`, `annotation-circle`, `annotation-line`, `annotation-arrow`, `annotation-polygon`, `annotation-polyline` |
5151
| **Redaction** | `redaction`, `redaction-area`, `redaction-text`, `redaction-apply`, `redaction-clear` |
52-
| **Document** | `document`, `document-open`, `document-close`, `document-print`, `document-capture`, `document-export`, `document-fullscreen` |
52+
| **Document** | `document`, `document-open`, `document-close`, `document-print`, `document-capture`, `document-export`, `document-fullscreen`, `document-protect` |
5353
| **Page** | `page`, `spread`, `rotate`, `scroll`, `navigation` |
5454
| **Panel** | `panel`, `panel-sidebar`, `panel-search`, `panel-comment` |
5555
| **Tools** | `tools`, `pan`, `pointer`, `capture` |

website/src/content/docs/vue/viewer/customizing-ui.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Categories are hierarchical—disabling a parent category (e.g., `annotation`) d
5151
| **Annotation** | `annotation`, `annotation-markup`, `annotation-highlight`, `annotation-underline`, `annotation-strikeout`, `annotation-squiggly`, `annotation-ink`, `annotation-text`, `annotation-stamp` |
5252
| **Shapes** | `annotation-shape`, `annotation-rectangle`, `annotation-circle`, `annotation-line`, `annotation-arrow`, `annotation-polygon`, `annotation-polyline` |
5353
| **Redaction** | `redaction`, `redaction-area`, `redaction-text`, `redaction-apply`, `redaction-clear` |
54-
| **Document** | `document`, `document-open`, `document-close`, `document-print`, `document-capture`, `document-export`, `document-fullscreen` |
54+
| **Document** | `document`, `document-open`, `document-close`, `document-print`, `document-capture`, `document-export`, `document-fullscreen`, `document-protect` |
5555
| **Page** | `page`, `spread`, `rotate`, `scroll`, `navigation` |
5656
| **Panel** | `panel`, `panel-sidebar`, `panel-search`, `panel-comment` |
5757
| **Tools** | `tools`, `pan`, `pointer`, `capture` |

0 commit comments

Comments
 (0)