-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
40 lines (34 loc) · 981 Bytes
/
index.html
File metadata and controls
40 lines (34 loc) · 981 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Hello Text Control in Electron!</title>
<meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline';" />
<script src="textcontrol/ds-server-document-editor.js"></script>
<script src="textcontrol/fileHandler.js"></script>
<link href="styles.css" rel="stylesheet">
</head>
<body style="background: white;">
<style>
#txDocumentEditorContainer {
width: 100%;
height: 100vH;
position: relative;
}
</style>
<div id="chrome-version"></div>
<div id="txDocumentEditorContainer"></div>
<script>
window.addEventListener("load", function () {
TXTextControl.init({
containerID: "txDocumentEditorContainer",
serviceURL: "https://trial.dsserver.io",
authSettings: {
clientId: "",
clientSecret: ""
}
});
});
</script>
</body>
</html>