From 5b9bd4fcdcc96f115e32b468b34ea6cb69cd6dea Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Mon, 17 May 2021 23:56:27 +0300 Subject: [PATCH] [DE] Show embedded editor version for fill form mode --- apps/api/documents/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/api/documents/api.js b/apps/api/documents/api.js index e81396319..42014a68a 100644 --- a/apps/api/documents/api.js +++ b/apps/api/documents/api.js @@ -865,7 +865,7 @@ path += app + "/"; path += (config.type === "mobile" || isSafari_mobile) ? "mobile" - : config.type === "embedded" + : (config.type === "embedded" || (app=='documenteditor') && (config.document.permissions.fillForms===true) && (config.document.permissions.edit === false) && (config.editorConfig.mode !== 'view')) ? "embed" : "main";