Skip to content

Commit 1d8129f

Browse files
1012852: Resolved CI failures
1 parent 643408c commit 1d8129f

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Document-Processing/PDF/PDF-Viewer/react/annotation/flatten-annotation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ documentation: ug
88
domainurl: ##DomainURL##
99
---
1010

11-
## Flatten Annotations Before Saving the PDF in React
11+
# Flatten Annotations Before Saving the PDF in React
1212
Flattening annotations permanently merges them into the PDF content. Once flattened:
1313
- Annotations are **no longer editable** in any PDF viewer.
1414
- Useful for **secure sharing**, preventing modifications.

Document-Processing/PDF/PDF-Viewer/react/how-to/toggle-annotation-visibility.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ async function hideTextMarkup() {
121121

122122
Implement role filters on top of the export/delete/import strategy:
123123

124-
- **Admins** see **all annotations**
124+
- **Admin** see **all annotations**
125125
- **Editors →** see **all markup**
126126
- **Viewers →** see **only comments or approved stamps**
127127

@@ -160,7 +160,7 @@ For a simple UI toggle (single button), reuse the **toggle all** function above.
160160

161161
## Events Related to Visibility
162162

163-
There aren’t built‑in `annotationShown`/`annotationHidden` events. Use **export/import** lifecycle events to infer visibility changes (e.g., `exportStart`/`exportSuccess` when hiding, and `importStart`/`importSuccess` when showing). For all annotation‑level events (add/remove/select/resize/etc.), see **Annotation Events** (link below).
163+
There aren’t built‑in `annotationShown`/`annotationHidden` events. Use **export/import** life-cycle events to infer visibility changes (e.g., `exportStart`/`exportSuccess` when hiding, and `importStart`/`importSuccess` when showing). For all annotation‑level events (add/remove/select/resize/etc.), see **Annotation Events** (link below).
164164

165165
**Tiny example:**
166166

0 commit comments

Comments
 (0)