TeamLab Document Editors API Documentation
config > document > permissions
- edit - defines if the document can be edited or only viewed. In case the editing permission is set to 'true' the File menu will contain the Edit Document menu option. parameter type: Boolean value
- download - defines if the document can be downloaded or only viewed or edited online. In case the downloading permission is set to 'true' the File menu will contain the Download as... menu option. parameter type: Boolean value
var docEditor = new DocsAPI.DocEditor('placeholder', { document: { permissions: { edit: true, download: false } } });
Please see other sections for more options: