From 7f39c01487f1d6fb9f41358b69696c0a255348fa Mon Sep 17 00:00:00 2001 From: SF4524LogeshKumar Date: Tue, 8 Sep 2026 14:49:54 +0530 Subject: [PATCH 1/2] 1050116: Updated proper lexer Share Point in React --- .../PDF-Viewer/react/depoyment-integration/share-point.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Document-Processing/PDF/PDF-Viewer/react/depoyment-integration/share-point.md b/Document-Processing/PDF/PDF-Viewer/react/depoyment-integration/share-point.md index 063ff431f7..34d73cd241 100644 --- a/Document-Processing/PDF/PDF-Viewer/react/depoyment-integration/share-point.md +++ b/Document-Processing/PDF/PDF-Viewer/react/depoyment-integration/share-point.md @@ -142,7 +142,9 @@ src/webparts/pdfViewer/components/PdfViewer.tsx Replace the entire file with the following: -```tsx +{% tabs %} +{% highlight ts tabtitle="Standalone" %} +{% raw %} import * as React from 'react'; import type { IPdfViewerProps } from './IPdfViewerProps'; @@ -191,7 +193,9 @@ export default class PdfViewer extends React.Component { ); } } -``` +{% endraw %} +{% endhighlight %} +{% endtabs %} Remember to replace `your-site.sharepoint.com/sites/PdfViewerDemo` in `resourceUrl` with the URL of your SharePoint site before serving the web part. From d8c85f7e63363563dfea5bcdd8dadd270f684136 Mon Sep 17 00:00:00 2001 From: SF4524LogeshKumar Date: Tue, 15 Sep 2026 11:13:07 +0530 Subject: [PATCH 2/2] 1050116: Updated proper Static version for CDN links --- .../javascript-es5/environment-integration/sharepoint.md | 6 +++--- .../javascript-es6/environment-integration/sharepoint.md | 4 ++-- .../PDF-Viewer/react/depoyment-integration/share-point.md | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Document-Processing/PDF/PDF-Viewer/javascript-es5/environment-integration/sharepoint.md b/Document-Processing/PDF/PDF-Viewer/javascript-es5/environment-integration/sharepoint.md index 711de4e72b..680e32bda2 100644 --- a/Document-Processing/PDF/PDF-Viewer/javascript-es5/environment-integration/sharepoint.md +++ b/Document-Processing/PDF/PDF-Viewer/javascript-es5/environment-integration/sharepoint.md @@ -92,9 +92,9 @@ No Framework Download the following files: -- https://cdn.syncfusion.com/ej2/latest/dist/ej2.min.js -- https://cdn.syncfusion.com/ej2/latest/dist/ej2-pdfviewer-lib/pdfium.js -- https://cdn.syncfusion.com/ej2/latest/dist/ej2-pdfviewer-lib/pdfium.wasm +- https://cdn.syncfusion.com/ej2/34.1.29/dist/ej2.min.js +- https://cdn.syncfusion.com/ej2/34.1.29/dist/ej2-pdfviewer-lib/pdfium.js +- https://cdn.syncfusion.com/ej2/34.1.29/dist/ej2-pdfviewer-lib/pdfium.wasm Create the following folder structure in your SharePoint site assets: diff --git a/Document-Processing/PDF/PDF-Viewer/javascript-es6/environment-integration/sharepoint.md b/Document-Processing/PDF/PDF-Viewer/javascript-es6/environment-integration/sharepoint.md index 5ef8775897..3ca6abbad8 100644 --- a/Document-Processing/PDF/PDF-Viewer/javascript-es6/environment-integration/sharepoint.md +++ b/Document-Processing/PDF/PDF-Viewer/javascript-es6/environment-integration/sharepoint.md @@ -88,8 +88,8 @@ npm install @syncfusion/ej2-pdfviewer Download the following files: -- https://cdn.syncfusion.com/ej2/latest/dist/ej2-pdfviewer-lib/pdfium.js -- https://cdn.syncfusion.com/ej2/latest/dist/ej2-pdfviewer-lib/pdfium.wasm +- https://cdn.syncfusion.com/ej2/34.1.29/dist/ej2-pdfviewer-lib/pdfium.js +- https://cdn.syncfusion.com/ej2/34.1.29/dist/ej2-pdfviewer-lib/pdfium.wasm Create the following folder in your SharePoint site assets: diff --git a/Document-Processing/PDF/PDF-Viewer/react/depoyment-integration/share-point.md b/Document-Processing/PDF/PDF-Viewer/react/depoyment-integration/share-point.md index 34d73cd241..7257859096 100644 --- a/Document-Processing/PDF/PDF-Viewer/react/depoyment-integration/share-point.md +++ b/Document-Processing/PDF/PDF-Viewer/react/depoyment-integration/share-point.md @@ -99,8 +99,8 @@ npm install @syncfusion/ej2-react-pdfviewer --save Download the following files: -- https://cdn.syncfusion.com/ej2/latest/dist/ej2-pdfviewer-lib/pdfium.js -- https://cdn.syncfusion.com/ej2/latest/dist/ej2-pdfviewer-lib/pdfium.wasm +- https://cdn.syncfusion.com/ej2/34.1.29/dist/ej2-pdfviewer-lib/pdfium.js +- https://cdn.syncfusion.com/ej2/34.1.29/dist/ej2-pdfviewer-lib/pdfium.wasm Create the following folder in your SharePoint site assets: