forked from fex-team/kityminder
-
Notifications
You must be signed in to change notification settings - Fork 49
/
edit.html
47 lines (44 loc) · 1.32 KB
/
edit.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<title>XMind</title>
<script>
var selfData = {
openUrl: '/xmind/djcpsdocument/fileManager/downloadFile.do?id='+ window.sessionStorage.getItem('xmindID'),
saveUrl: '/xmind/djcpsdocument/fileManager/saveXmind.do?',
saveOption: {
method: 'POST',
contentType: 'applicaiton/json',
},
personData: {
fid: window.sessionStorage.getItem('xmindID'),
},
afterSaveFunc: function (res) {
}
}
</script>
<script src="import.js?pack=edit" charset="utf-8"></script>
<script src="kityminder.config.js" charset="utf-8"></script>
<script src="lang/zh-cn/zh-cn.js" charset="utf-8"></script>
<link href="ui/theme/default/css/default.all.css" type="text/css" rel="stylesheet" />
</head>
<body>
<div id="content-wrapper">
<div id="panel"></div>
<div id="kityminder" onselectstart="return false">
</div>
</div>
</body>
<script>
$(function() {
/* 依赖库初始化 */
zip.inflateJSPath = 'lib/inflate.js';
});
// create km instance
km = KM.getMinder('kityminder', window.KITYMINDER_CONFIG);
// init ui for instance
km.initUI();
</script>
</html>