Last active
December 20, 2021 15:12
-
-
Save bjoerntx/003416d0df3e9450bb4ece1303363348 to your computer and use it in GitHub Desktop.
This file contains hidden or 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> | |
<title>My first DS Server application</title> | |
<script | |
src="https://trial.dsserver.io/documenteditor/JS/ds-server-document-editor.js"> | |
</script> | |
</head> | |
<body> | |
<style> | |
#txDocumentEditorContainer { | |
width: 1000px; | |
height: 600px; | |
display: inline-block; | |
position: relative; | |
} | |
</style> | |
<h2>DocumentServices.DocumentEditor</h2> | |
<div id="txDocumentEditorContainer"></div> | |
<script> | |
window.addEventListener("load", function () { | |
TXTextControl.init({ | |
containerID: "txDocumentEditorContainer", | |
serviceURL: "https://trial.dsserver.io", | |
authSettings: { | |
clientId: "dsserver.yourclientid", | |
clientSecret: "yourclientsecret" | |
} | |
}); | |
}); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment