Restore basic editing on mobile

This commit is contained in:
Nelson DINIS GONCALVES 2022-05-10 13:02:51 +02:00
parent 4290b7a78e
commit 78bc08a1a9
2 changed files with 9 additions and 2 deletions

View file

@ -47,4 +47,11 @@ ARG oo_root
#server
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