Last active
March 25, 2021 11:12
-
-
Save bjoerntx/77d6a25436251586594aae3517c5f301 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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/txtextcontrol-ds-1.0.0.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="txDocumentEditorContainer"></div> | |
<script> | |
window.addEventListener("load", function () { | |
TXTextControl.init({ | |
containerID: "txDocumentEditorContainer", | |
serviceURL: "https://trial.dsserver.io", | |
authSettings: { | |
clientId: "", | |
clientSecret: "" | |
} | |
}); | |
}); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment