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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
const editorConfig = ref({
editorConfig: {
mode: 'edit',
lang: 'zh',
customization: {
anonymous: {
request: true,
label: "Guest"
},
autosave: false,
comments: true,
compactHeader: true,
compactToolbar: false,
compatibleFeatures: true,
customer: {
address: "A small corner of China",
info: "A member of the open source spirit of the Internet",
logo: "https://resume.app.thatcoder.cn/favicon.ico",
logoDark: "https://resume.app.thatcoder.cn/favicon.ico",
mail: "thatcoder@163.com",
name: "钟意",
phone: 13305374721,
www: "https://log.cns.red"
},
forcesave: false,
goback: {
blank: true,
requestClose: false,
text: "回到简历列表",
url: "https://resume.app.thatcoder.cn/mine/folder"
},
help: false,
hideRightMenu: false,
hideRulers: true,
integrationMode: "embed",
logo: {
image: "https://resume.app.thatcoder.cn/favicon.ico",
imageDark: "https://resume.app.thatcoder.cn/favicon.ico",
imageEmbedded: "https://resume.app.thatcoder.cn/favicon.ico",
url: "https://resume.app.thatcoder.cn"
},
macros: true,
macrosMode: "禁用",
mentionShare: false,
mobileForceView: true,
plugins: false,
toolbarHideFileName: true,
toolbarNoTabs: true,
// uiTheme: "theme-dark",
unit: "厘米",
zoom: 100
},
// callbackUrl: 'https://resume.app.thatcoder.cn/onlyoffice-callback',
callbackUrl: 'https://resume.thatapi.cn/office/callback',
},
document: {
title: documentName,
url: documentUrl,
fileType: documentType,
key: documentKey,
info: {
favorite: false,
folder: "" + thatLocal.getItem('userId'),
owner: "" + thatLocal.getItem('userName'),
sharingSettings: [
{
permissions: "Full Access",
user: "" + thatLocal.getItem('userName')
}
],
uploaded: "2010-07-07 3:46 PM"
}
},
events: {
onReady: onDocumentReady,
// onDocumentStateChange: onDocumentStateChange,
onRequestSaveAs: onRequestSaveAs,
// onRequestInsertImage: onRequestInsertImage,
// 添加其他需要处理的回调事件
},
// documentServerUrl: 'https://office.thatcoder.cn', // 指定 ONLYOFFICE 服务器的网址
});
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
const editorConfig = ref({
editorConfig: {
mode: 'edit',
lang: 'zh',
customization: {
anonymous: {
request: true,
label: "Guest"
},
autosave: false,
comments: true,
compactHeader: true,
compactToolbar: false,
compatibleFeatures: true,
customer: {
address: "A small corner of China",
info: "A member of the open source spirit of the Internet",
logo: "https://resume.app.thatcoder.cn/favicon.ico",
logoDark: "https://resume.app.thatcoder.cn/favicon.ico",
mail: "thatcoder@163.com",
name: "钟意",
phone: 13305374721,
www: "https://log.cns.red"
},
forcesave: false,
goback: {
blank: true,
requestClose: false,
text: "回到简历列表",
url: "https://resume.app.thatcoder.cn/mine/folder"
},
help: false,
hideRightMenu: false,
hideRulers: true,
integrationMode: "embed",
logo: {
image: "https://resume.app.thatcoder.cn/favicon.ico",
imageDark: "https://resume.app.thatcoder.cn/favicon.ico",
imageEmbedded: "https://resume.app.thatcoder.cn/favicon.ico",
url: "https://resume.app.thatcoder.cn"
},
macros: true,
macrosMode: "禁用",
mentionShare: false,
mobileForceView: true,
plugins: false,
toolbarHideFileName: true,
toolbarNoTabs: true,
// uiTheme: "theme-dark",
unit: "厘米",
zoom: 100
},
// callbackUrl: 'https://resume.app.thatcoder.cn/onlyoffice-callback',
callbackUrl: 'https://resume.thatapi.cn/office/callback',
},
document: {
title: documentName,
url: documentUrl,
fileType: documentType,
key: documentKey,
info: {
favorite: false,
folder: "" + thatLocal.getItem('userId'),
owner: "" + thatLocal.getItem('userName'),
sharingSettings: [
{
permissions: "Full Access",
user: "" + thatLocal.getItem('userName')
}
],
uploaded: "2010-07-07 3:46 PM"
}
},
events: {
onReady: onDocumentReady,
// onDocumentStateChange: onDocumentStateChange,
onRequestSaveAs: onRequestSaveAs,
// onRequestInsertImage: onRequestInsertImage,
// 添加其他需要处理的回调事件
},
// documentServerUrl: 'https://office.thatcoder.cn', // 指定 ONLYOFFICE 服务器的网址
});