mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +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",
|
"name": "@hydrooj/onlyoffice",
|
||||||
"version": "1.1.1",
|
"version": "1.1.2",
|
||||||
"main": "package.json",
|
"main": "package.json",
|
||||||
"repository": "git@github.com:hydro-dev/Hydro.git",
|
"repository": "git@github.com:hydro-dev/Hydro.git",
|
||||||
"author": "undefined <i@undefined.moe>",
|
"author": "undefined <i@undefined.moe>",
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
document: {
|
document: {
|
||||||
fileType: t[t.length - 1],
|
fileType: t[t.length - 1],
|
||||||
key: Math.random().toString(16),
|
key: Math.random().toString(16),
|
||||||
title: n[n.length - 1],
|
title: decodeURIComponent(n[n.length - 1]),
|
||||||
url: new URL(url, window.location.href),
|
url: new URL(url, window.location.href),
|
||||||
permissions: {
|
permissions: {
|
||||||
comment: false,
|
comment: false,
|
||||||
@@ -51,6 +51,13 @@
|
|||||||
id: UserContext._id.toString(),
|
id: UserContext._id.toString(),
|
||||||
name: UserContext.uname,
|
name: UserContext.uname,
|
||||||
},
|
},
|
||||||
|
customization: {
|
||||||
|
chat: false,
|
||||||
|
comments: false,
|
||||||
|
help: false,
|
||||||
|
hideRulers: true,
|
||||||
|
plugins: false,
|
||||||
|
}
|
||||||
},
|
},
|
||||||
documentType: mode,
|
documentType: mode,
|
||||||
height: mode === 'slide' ? '560px' : '900px',
|
height: mode === 'slide' ? '560px' : '900px',
|
||||||
|
|||||||
Reference in new issue
Block a user