1+ <!DOCTYPE html>
2+ < html lang ="en ">
3+
4+ < head >
5+ < title > Syncfusion PDF Viewer - Collaborative Editing</ title >
6+ < meta charset ="utf-8 ">
7+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
8+ < meta name ="description " content ="Syncfusion PDF Viewer with Collaborative Editing ">
9+ < meta name ="author " content ="Syncfusion ">
10+
11+ <!-- Optional: CDN versions if local files not available -->
12+ < script src ="https://cdn.syncfusion.com/ej2/35.1.37/dist/ej2.min.js " type ="text/javascript "> </ script >
13+ < link href ="https://cdn.syncfusion.com/ej2/35.1.37/tailwind3.css " rel ="stylesheet " />
14+
15+ < script src ="https://cdn.syncfusion.com/ej2/syncfusion-helper.js " type ="text/javascript "> </ script >
16+
17+ < style >
18+ * {
19+ margin : 0 ;
20+ padding : 0 ;
21+ box-sizing : border-box;
22+ }
23+
24+ html ,
25+ body {
26+ height : 100% ;
27+ width : 100% ;
28+ font-family : 'Segoe UI' , Tahoma, Geneva, Verdana, sans-serif;
29+ }
30+
31+ # container {
32+ height : 100% ;
33+ width : 100% ;
34+ display : flex;
35+ flex-direction : column;
36+ background-color : # ffffff ;
37+ }
38+
39+ # collaborationStatusBar {
40+ padding : 10px 15px ;
41+ background-color : # f0f0f0 ;
42+ border-bottom : 1px solid # ddd ;
43+ font-size : 12px ;
44+ flex-shrink : 0 ;
45+ }
46+
47+ # PdfViewer {
48+ flex : 1 ;
49+ overflow : hidden;
50+ }
51+ </ style >
52+ </ head >
53+
54+ < body >
55+ < div id ="container "> </ div >
56+
57+ < script >
58+ // Initialize visibility
59+ document . addEventListener ( 'DOMContentLoaded' , function ( ) {
60+ const ele = document . getElementById ( 'container' ) ;
61+ if ( ele ) {
62+ ele . style . visibility = "visible" ;
63+ }
64+ } ) ;
65+ </ script >
66+
67+ <!-- Load adapter first, then main app -->
68+ < script src ="pdfViewerAdapter.js " type ="text/javascript "> </ script >
69+ < script src ="index.js " type ="text/javascript "> </ script >
70+ </ body >
71+
72+ </ html >
0 commit comments