diff --git a/docker/drawio/webapp/README.md b/docker/drawio/webapp/README.md index f1f82f688..ac3f31d9a 100644 --- a/docker/drawio/webapp/README.md +++ b/docker/drawio/webapp/README.md @@ -1,24 +1,3 @@ # Change -## js/diagramly/ElectronApp.js - -- 隐藏文件中的无用菜单 - -## js/app.min.js - -- 隐藏帮助菜单 -- 取消未保存关闭窗口提示 -- `EmbedFile.prototype.getTitle=...` 改 `EmbedFile.prototype.getTitle=function(){return this.desc.title||(urlParams.title?decodeURIComponent(urlParams.title):"")}` -- `c.insertTemplateEnabled&&!c.isOffline()&&this.addMenuItems(b,["insertTemplate"],d)` 改 `c.insertTemplateEnabled&&this.addMenuItems(b,["insertTemplate"],d)` -- `390:270` 改 `390:285` -- `!this.editorUi.isOffline()&&d.length<=c/4?(f=b-Math.ceil((e-c/4)/c),mxUtils.get(ICONSEARCH_PATH` 改 `d.length<=c/4?(f=b-Math.ceil((e-c/4)/c),mxUtils.get(ICONSEARCH_PATH` - -## index.html - -- 隐藏加载中的提示 -- 加入 -```js -window.EXPORT_URL = window.location.origin + "/drawio/export/"; -window.DRAWIO_LIGHTBOX_URL = window.location.origin + "/drawio/webapp"; -setInterval(function() {window.ICONSEARCH_PATH = window.location.origin + "/drawio/iconsearch";}, 1000) -``` +diff https://github.com/jgraph/drawio/tree/1a858166fb4f1330cf23e58941e3fbec1dcd16f8 diff --git a/docker/drawio/webapp/index.html b/docker/drawio/webapp/index.html index 42a1fb84c..9de7d7bf1 100644 --- a/docker/drawio/webapp/index.html +++ b/docker/drawio/webapp/index.html @@ -9,7 +9,7 @@ @@ -17,6 +17,10 @@