config
type: ‘desktop’,
mode:view
permission:{
edit:false
}
pdf can’t readonly, it can edit, i don’t know what mean is it?
config
type: ‘desktop’,
mode:view
permission:{
edit:false
}
pdf can’t readonly, it can edit, i don’t know what mean is it?
i use the onlyoffice version is 8.1.1,and install with docker
Hello,
Please provide a screen recording of the issue reproduction (with devTools Console opened) as well as your full Editor’s initialization config
config
const basic_config = reactive({
documentType: ‘pdf’,
height: ‘100%’,
width: ‘100%’,
type: ‘desktop’,
document: {
fileType: ‘pdf’,
title: ‘JSR133中文版.pdf’,
url: ‘http://172.16.11.30:4031/downloadfile/file/download?id=a33df975da1e76fea33d314d59bb9801’,
permissions: {
chat: false,
comment: false,
print: false,
download: false,
copy: true,
edit: false,
protect: false
},
key: uuidv4()
},
editorConfig: {
customization: {
autosave: false,
compactToolbar: false,
forcesave: false,
toolbarNoTabs: true,
help: false,
compactHeader: false,
hideRightMenu: true,
hideRulers: true,
plugins: false,
about: false
},
mode: ‘view’,
lang: ‘zh-CN’
}
});
Actually, this is the way the pdf view mode was designed initially - the difference of this mode is that the file can only be saved locally from this mode, it won’t be saved to the storage
if i want to readonly pdf file, i must select embedded mode.
is that so?
Yes, in embedded mode the pdf file will be not editable
OK,Thank you!