diff --git a/apps/api/documents/api.js b/apps/api/documents/api.js index 71a006e8ff..542fb28167 100644 --- a/apps/api/documents/api.js +++ b/apps/api/documents/api.js @@ -770,7 +770,9 @@ if ( typeof(customization) == 'object' && ( customization.toolbarNoTabs || (config.editorConfig.targetApp!=='desktop') && (customization.loaderName || customization.loaderLogo))) { index = "/index_loader.html"; - } + } else if (config.editorConfig.mode == 'editdiagram' || config.editorConfig.mode == 'editmerge') + index = "/index_internal.html"; + } path += index; return path; diff --git a/apps/spreadsheeteditor/main/index_internal.html b/apps/spreadsheeteditor/main/index_internal.html new file mode 100644 index 0000000000..ffa6c2ac7d --- /dev/null +++ b/apps/spreadsheeteditor/main/index_internal.html @@ -0,0 +1,235 @@ + + + + ONLYOFFICE Document Editor + + + + + + + + + + + + + + + + + +
+
+ +
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apps/spreadsheeteditor/main/index_internal.html.deploy b/apps/spreadsheeteditor/main/index_internal.html.deploy new file mode 100644 index 0000000000..73ba16dc1b --- /dev/null +++ b/apps/spreadsheeteditor/main/index_internal.html.deploy @@ -0,0 +1,232 @@ + + + + ONLYOFFICE Document Editor + + + + + + + + + + + + + + + +
+
+ +
+
+
+
+
+ +
+ + + + + + + + + + + \ No newline at end of file diff --git a/build/spreadsheeteditor.json b/build/spreadsheeteditor.json index 8c95362b89..9001b36439 100644 --- a/build/spreadsheeteditor.json +++ b/build/spreadsheeteditor.json @@ -188,6 +188,10 @@ { "src": "../apps/spreadsheeteditor/main/index_loader.html.deploy", "dest": "../deploy/web-apps/apps/spreadsheeteditor/main/index_loader.html" + }, + { + "src": "../apps/spreadsheeteditor/main/index_internal.html.deploy", + "dest": "../deploy/web-apps/apps/spreadsheeteditor/main/index_internal.html" } ] },