How to build draw.io to have lightbox viewer

丶灬走出姿态 提交于 2019-12-11 07:33:11

问题


I'm intending to build draw.io since cloning the repository and publish it to e.g. GitHub pages does not allow me to make use of the lightbox.
I assume that this repository only includes the client-side Java code but the lightbox is server-sided.

I want to make use of the lightbox, which allows making use of the plugins in view mode.
Instead of draw.io/?p=ex&lightbox=1&...(explorer plugin enabled), I would like to make it accessible via mydomain.io/drawio.../?p=ex&lightbox=1&....
When I clone the repository I have only access to the editor vai mydomain.io/drawio/src/main/webapp/index.html, like the public clone on (jgraph.github.io/drawio/src/main/webapp/index.html).

Anyone here, who could give me some guidance to include the right features in the build?
Neither draw.io build documentation nor Embed Diagrams tell anything about such details.
I find some more details on the mxgraph repository, Facebook and YouTube but nothing gives me the slightest clue how to continue.

来源:https://stackoverflow.com/questions/56048543/how-to-build-draw-io-to-have-lightbox-viewer

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!