I was wondering if it was recommended to use Onlyoffice DocSpace as a document manager and document storage service for Only Office Docs Developer Edition.
Thanks
I was wondering because it seems I’m unable to edit a document in Docspace using the developer tools. Here is the code I copied from the Javascript SDK
<div id="ds-frame">Fallback text</div>
<script src="https://example.onlyoffice.com/static/scripts/sdk/1.0.1/api.js?mode=editor&width=100%25&height=100%25&frameId=ds-frame&init=true&id=1475119&requestToken=M0IvYUlybjQ1Q1JSa21IdFVoakJHWmtNRUNzSUpUdnlmTUlCWEc0enY0UT0_ImQyZjNkNjNiLWE1ZWEtNGQyYy1iZmE3LTU0OWQwYTg2MzY2NCI"></script>
<script>
const config = {
"mode": "editor",
"width": "100%",
"height": "100%",
"frameId": "ds-frame",
"init": true,
"id": 1475119,
"requestToken": "M0IvYUlybjQ1Q1JSa21IdFVoakJHWmtNRUNzSUpUdnlmTUlCWEc0enY0UT0_ImQyZjNkNjNiLWE1ZWEtNGQyYy1iZmE3LTU0OWQwYTg2MzY2NCI"
}
const script = document.createElement("script");
script.setAttribute("src", "https://example.onlyoffice.com/static/scripts/sdk/1.0.1/api.js");
script.onload = () => window.DocSpace.SDK.initFrame(config);
document.body.appendChild(script);
</script>
This gives me the editor, but it doesn’t give me the right to edit the document. Perhaps it is an issue with config?