mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-04-05 10:52:34 +08:00

* 使用cherryMarkdown替换editorMd * 支持历史&边栏 * 优化代码&支持html格式渲染为预览格式&保存主题配置 * 修复drawio异常 * 优化drawio异常改法 * 自定义提示面板主题颜色 * drawio增加样式,并且更新到最新版本 * 增加代码块复制功能&&修复drawio渲染图片过大&&drawio生成图片背景改为透明 * 恢复原有markdown编辑器,新增cherry markdown编辑器 * 修复复制功能异常 * 修复drawio偶尔无法编辑 --------- Co-authored-by: zhangsheng.93 <zhangsheng.93@bytedance.com>
37 lines
1.8 KiB
HTML
37 lines
1.8 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>draw.io demo</title>
|
|
<link rel="stylesheet" href="/static/cherry/drawio_demo/grapheditor.css">
|
|
</head>
|
|
|
|
<!-- geEditor 是draw.io需要的class -->
|
|
|
|
<body class="geEditor">
|
|
<!-- 加载draw.io需要的静态资源 begin -->
|
|
|
|
<script type="text/javascript" src="/static/cherry/drawio_demo/Init.js"></script>
|
|
<script type="text/javascript" src="./drawio_demo/lib/pako.min.js"></script>
|
|
<script type="text/javascript" src="/static/cherry/drawio_demo/lib/base64.js"></script>
|
|
<script type="text/javascript" src="/static/cherry/drawio_demo/jscolor/jscolor.js"></script>
|
|
<script type="text/javascript" src="/static/cherry/drawio_demo/lib/purify.min.js"></script>
|
|
<script type="text/javascript" src="/static/cherry/mxgraph/mxClient.js"></script>
|
|
<script type="text/javascript" src="/static/cherry/drawio_demo/Editor.js"></script>
|
|
<script type="text/javascript" src="/static/cherry/drawio_demo/EditorUi.js"></script>
|
|
<script type="text/javascript" src="/static/cherry/drawio_demo/Sidebar.js"></script>
|
|
<script type="text/javascript" src="/static/cherry/drawio_demo/Graph.js"></script>
|
|
<script type="text/javascript" src="/static/cherry/drawio_demo/Format.js"></script>
|
|
<script type="text/javascript" src="/static/cherry/drawio_demo/Shapes.js"></script>
|
|
<script type="text/javascript" src="/static/cherry/drawio_demo/Actions.js"></script>
|
|
<script type="text/javascript" src="/static/cherry/drawio_demo/Menus.js"></script>
|
|
<script type="text/javascript" src="/static/cherry/drawio_demo/Toolbar.js"></script>
|
|
<script type="text/javascript" src="/static/cherry/drawio_demo/Dialogs.js"></script>
|
|
|
|
<!-- 加载draw.io需要的静态资源 end -->
|
|
|
|
<script src="/static/cherry/drawio-demo.js"></script>
|
|
</body>
|
|
|
|
</html> |