You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: blazor/rich-text-editor/import-export.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -422,9 +422,9 @@ public WordDocument GetDocument(string htmlText)
422
422
423
423
N> [View Sample in GitHub](https://github.com/SyncfusionExamples/blazor-rich-text-editor-export-to-html).
424
424
425
-
## Securely Export Word or PDF Documents with Authentication
425
+
## Securely Export Word or Pdf Documents with Authentication
426
426
427
-
You can include custom data when exporting Word or PDF documents, such as authentication tokens or other parameters. Use the OnExport event with its `CurrentRequest` and `CustomFormData` properties to send these values to the server. On the server side, the authentication token can be read from the request headers, and the custom data can be accessed from the request body, which contains the values sent via a POST request.
427
+
You can include custom data when exporting Word or PDF documents, such as authentication tokens or other parameters. Use the `OnExport` event with its `CurrentRequest` and `CustomFormData` properties to send these values to the server. On the server side, the authentication token can be read from the request headers, and the custom data can be accessed from the request body, which contains the values sent via a POST request.
428
428
429
429
The following example demonstrates how to pass authentication tokens and custom data during export:
430
430
@@ -448,7 +448,7 @@ The following example demonstrates how to pass authentication tokens and custom
448
448
};
449
449
private void Export(ExportingEventArgs args)
450
450
{
451
-
// Assign different authentication tokens depending on the export type (PDF or Word)
451
+
// Assign different authentication tokens depending on the export type (Pdf or Word)
0 commit comments