diff --git a/.gitignore b/.gitignore index 1891234c..e35a64af 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,7 @@ nohup.out node_modules dist src/renderer/public/vs +src/renderer/public/drawio src/renderer/public/embed out bin diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 00000000..ddfb5ab8 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "drawio"] + path = drawio + url = https://github.com/jgraph/drawio.git diff --git a/drawio b/drawio new file mode 160000 index 00000000..27ecd988 --- /dev/null +++ b/drawio @@ -0,0 +1 @@ +Subproject commit 27ecd98824cd0981f61f619c3d819cad5d0b07bb diff --git a/src/renderer/plugins/markdown-drawio.ts b/src/renderer/plugins/markdown-drawio.ts index e99b2ddd..b4907858 100644 --- a/src/renderer/plugins/markdown-drawio.ts +++ b/src/renderer/plugins/markdown-drawio.ts @@ -245,7 +245,7 @@ async function buildSrcdoc ({ repo, path, content }: F) { } ${div.outerHTML} - + ` } @@ -264,7 +264,7 @@ function buildEditorSrcdoc (file: Doc) {