forked from Tencent/cherry-markdown
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: 增加插入draw.io功能;增加编辑draw.io机制;\n fix: 修复编辑图片尺寸时有可能受代码块语法影响的问题
- Loading branch information
Showing
332 changed files
with
136,723 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="UTF-8"> | ||
<title>draw.io demo</title> | ||
<link rel="stylesheet" href="./drawio_demo/grapheditor.css"> | ||
<!-- <link rel="stylesheet" href="https://jgraph.github.io/drawio/src/main/webapp/mxgraph/css/common.css"> --> | ||
</head> | ||
|
||
<!-- geEditor 是draw.io需要的class --> | ||
<body class="geEditor"> | ||
<!-- 加载draw.io需要的静态资源 begin --> | ||
<script type="text/javascript" src="./drawio_demo/Init.js"></script> | ||
<script type="text/javascript" src="./drawio_demo/lib/pako.min.js"></script> | ||
<script type="text/javascript" src="./drawio_demo/lib/base64.js"></script> | ||
<script type="text/javascript" src="./drawio_demo/jscolor/jscolor.js"></script> | ||
<script type="text/javascript" src="./drawio_demo/lib/sanitizer.min.js"></script> | ||
<script type="text/javascript" src="./drawio_demo/src/js/mxClient.min.js"></script> | ||
<script type="text/javascript" src="./drawio_demo/EditorUi.js"></script> | ||
<script type="text/javascript" src="./drawio_demo/Editor.js"></script> | ||
<script type="text/javascript" src="./drawio_demo/Sidebar.js"></script> | ||
<script type="text/javascript" src="./drawio_demo/Graph.js"></script> | ||
<script type="text/javascript" src="./drawio_demo/Format.js"></script> | ||
<script type="text/javascript" src="./drawio_demo/Shapes.js"></script> | ||
<script type="text/javascript" src="./drawio_demo/Actions.js"></script> | ||
<script type="text/javascript" src="./drawio_demo/Menus.js"></script> | ||
<script type="text/javascript" src="./drawio_demo/Toolbar.js"></script> | ||
<script type="text/javascript" src="./drawio_demo/Dialogs.js"></script> | ||
<!-- 加载draw.io需要的静态资源 end --> | ||
|
||
<script src="./scripts/drawio-demo.js"></script> | ||
</body> | ||
|
||
</html> |
Oops, something went wrong.