From af46105cb92e92fa9182b7fab0b60ff6cb301343 Mon Sep 17 00:00:00 2001 From: Torsten Simon Date: Wed, 10 Jan 2024 14:39:58 +0000 Subject: [PATCH 1/3] add only office config docs --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 7530a18..1444248 100755 --- a/README.md +++ b/README.md @@ -40,6 +40,18 @@ connectorList.connectors+={ - Set values for - __ONLYOFFICE_DOCUMENT_SERVER__ URL of the document server - __ONLYOFFICE_PLUGIN_URL__ optional, if you want to use custom plugins +``` +To enable the OnlyOffice editing, please add the following into your `edu-sharing.conf` in the repository (Admin Tools / Global system configuration): +connectorList.connectors+={ + id:"ONLY_OFFICE", icon:"edit", showNew: true, onlyDesktop: false, hasViewMode: true, + filetypes:[ + {mimetype: "application/vnd.openxmlformats-officedocument.wordprocessingml.document",filetype: "docx",createable: true,editable: true}, + {mimetype: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",filetype: "xlsx",createable: true,editable: true}, + {mimetype: "application/vnd.openxmlformats-officedocument.presentationml.presentation",filetype: "pptx",createable: true,editable: true} + ] +} +``` + ### ONYX - Setup the ONYX editor - Set values for From d758a41c2f89ba3646323e5bd2a43b2bdb3eb15c Mon Sep 17 00:00:00 2001 From: Torsten Simon Date: Wed, 10 Jan 2024 14:40:41 +0000 Subject: [PATCH 2/3] readme syntax fix --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1444248..8edb5ba 100755 --- a/README.md +++ b/README.md @@ -40,8 +40,8 @@ connectorList.connectors+={ - Set values for - __ONLYOFFICE_DOCUMENT_SERVER__ URL of the document server - __ONLYOFFICE_PLUGIN_URL__ optional, if you want to use custom plugins -``` To enable the OnlyOffice editing, please add the following into your `edu-sharing.conf` in the repository (Admin Tools / Global system configuration): +``` connectorList.connectors+={ id:"ONLY_OFFICE", icon:"edit", showNew: true, onlyDesktop: false, hasViewMode: true, filetypes:[ From 325122479bfdd7d61005c8e3493254d08464b621 Mon Sep 17 00:00:00 2001 From: Torsten Simon Date: Wed, 10 Jan 2024 14:41:25 +0000 Subject: [PATCH 3/3] fix syntax --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 8edb5ba..671f7c9 100755 --- a/README.md +++ b/README.md @@ -40,6 +40,7 @@ connectorList.connectors+={ - Set values for - __ONLYOFFICE_DOCUMENT_SERVER__ URL of the document server - __ONLYOFFICE_PLUGIN_URL__ optional, if you want to use custom plugins + To enable the OnlyOffice editing, please add the following into your `edu-sharing.conf` in the repository (Admin Tools / Global system configuration): ``` connectorList.connectors+={