mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
onlyoffice: limit features
This commit is contained in:
1 parent
7342bbd0c3
commit
03db807a19
2 files changed
+9
-2
No files matched your search
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@hydrooj/onlyoffice",
|
||||
"version": "1.1.1",
|
||||
"version": "1.1.2",
|
||||
"main": "package.json",
|
||||
"repository": "git@github.com:hydro-dev/Hydro.git",
|
||||
"author": "undefined <i@undefined.moe>",
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
document: {
|
||||
fileType: t[t.length - 1],
|
||||
key: Math.random().toString(16),
|
||||
title: n[n.length - 1],
|
||||
title: decodeURIComponent(n[n.length - 1]),
|
||||
url: new URL(url, window.location.href),
|
||||
permissions: {
|
||||
comment: false,
|
||||
@@ -51,6 +51,13 @@
|
||||
id: UserContext._id.toString(),
|
||||
name: UserContext.uname,
|
||||
},
|
||||
customization: {
|
||||
chat: false,
|
||||
comments: false,
|
||||
help: false,
|
||||
hideRulers: true,
|
||||
plugins: false,
|
||||
}
|
||||
},
|
||||
documentType: mode,
|
||||
height: mode === 'slide' ? '560px' : '900px',
|
||||
|
||||
Reference in new issue
Block a user