mirror of
https://github.com/ONLYOFFICE/document-server-integration.git
synced 2026-04-07 14:06:11 +08:00
nodejs: comment only mode
This commit is contained in:
@ -597,6 +597,7 @@ app.get("/editor", function (req, res) {
|
||||
callbackUrl: docManager.getCallback(fileName),
|
||||
isEdit: canEdit && mode == "edit",
|
||||
review: mode == "edit" || mode == "review",
|
||||
comment: mode == "edit" || mode == "comment",
|
||||
mode: canEdit && mode != "view" ? "edit" : "view",
|
||||
canBackToFolder: type != "embedded",
|
||||
backUrl: docManager.getServerUrl(),
|
||||
|
||||
Reference in New Issue
Block a user