sayli
16 April 2024 17:45
1
var docEditor = new DocsAPI.DocEditor("placeholder", {
"document": {
"permissions": {
"copy": false,
"deleteCommentAuthorOnly": false,
"download": false,
"edit": true,
"print": true,
"protect": true,
"review": true
}
}
});
Copy permission is set to false . Though I’m able to copy text from word file opened in editor and paste it outside the document.
Hello,
Please provide the full Editor’s initialization config file. Also, what is the version of Document Server you are using?
sayli
17 April 2024 09:41
3
$(document).ready(function () {
new DocsAPI.DocEditor("placeholder", {
"documentType": "Text",
"document": {
"fileType": "docx",
"key": "25a6f94c419aef6fb811",
"title": "Example Document Title.docx",
"url": "getdocumenturl",
"save": "true",
"permissions": {
"edit": true,
"copy": false,
"print": true,
"download":true,
"fillForms":true,
"review": true,
"comment": true
}
},
"editorConfig":
{
"lang": "en-GB",
"mode": "edit",
"callbackUrl": "callbackUrl",
"user":
{
"id": "user",
"name": "user"
},
"customization": {
"goback": {
"blank": false,
"text": "Close Document",
"url": "CloseDocumenturl"
}
}
}
});
});
Document Server 5.6.4
Hello,
Unfortunately, we do not provide support for old versions, please update to the recent 8.0.1 version and check if the issue is reproduced there. Copy permission works as it is supposed to on the recent version.