Restore basic editing on mobile
This commit is contained in:
parent
4290b7a78e
commit
78bc08a1a9
2 changed files with 9 additions and 2 deletions
|
@ -47,4 +47,11 @@ ARG oo_root
|
||||||
|
|
||||||
#server
|
#server
|
||||||
COPY --from=build-stage /build/converter ${oo_root}/server/FileConverter/converter
|
COPY --from=build-stage /build/converter ${oo_root}/server/FileConverter/converter
|
||||||
COPY --from=build-stage /build/docservice ${oo_root}/server/DocService/docservice
|
COPY --from=build-stage /build/docservice ${oo_root}/server/DocService/docservice
|
||||||
|
|
||||||
|
# Restore basic editing on mobile (no editing menu/features).
|
||||||
|
RUN sed -si \
|
||||||
|
's/isSupportEditFeature=function(){return!1}/isSupportEditFeature=function(){return 1}/g' \
|
||||||
|
${oo_root}/web-apps/apps/documenteditor/mobile/dist/js/app.js \
|
||||||
|
${oo_root}/web-apps/apps/presentationeditor/mobile/dist/js/app.js \
|
||||||
|
${oo_root}/web-apps/apps/spreadsheeteditor/mobile/dist/js/app.js
|
||||||
|
|
|
@ -21,7 +21,7 @@ This [Dockerfile](./Dockerfile) and patches compile a version of
|
||||||
OnlyOffice Docs server with mobile editing enabled in the Nextcloud apps for an
|
OnlyOffice Docs server with mobile editing enabled in the Nextcloud apps for an
|
||||||
unlimited amount of concurrent users.
|
unlimited amount of concurrent users.
|
||||||
|
|
||||||
The patches provided in this repository also try to provide basic functionality from an old release.
|
The patches provided in this repository only restores basic editing on mobile.
|
||||||
|
|
||||||
It can be integrated into e.g. Nextcloud or ownCloud like the official images.
|
It can be integrated into e.g. Nextcloud or ownCloud like the official images.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue