🎨 去除作品集/专题/标签界面编辑器文件上传功能
This commit is contained in:
parent
37b67ec651
commit
69e28b06ee
@ -187,7 +187,7 @@ export default {
|
|||||||
'insert-before',
|
'insert-before',
|
||||||
'insert-after',
|
'insert-after',
|
||||||
'|',
|
'|',
|
||||||
'upload',
|
// 'upload',
|
||||||
// 'record',
|
// 'record',
|
||||||
'table',
|
'table',
|
||||||
'|',
|
'|',
|
||||||
@ -241,13 +241,6 @@ export default {
|
|||||||
// Vue.Vditor.highlightRender({style: 'github'}, element, this.contentEditor);
|
// Vue.Vditor.highlightRender({style: 'github'}, element, this.contentEditor);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
upload: {
|
|
||||||
max: 10 * 1024 * 1024,
|
|
||||||
url: this.tokenURL.URL,
|
|
||||||
linkToImgUrl: this.tokenURL.linkToImageURL,
|
|
||||||
token: this.tokenURL.token,
|
|
||||||
filename: name => name.replace(/[^(a-zA-Z0-9\u4e00-\u9fa5\.)]/g, '').replace(/[\?\\/:|<>\*\[\]\(\)\$%\{\}@~]/g, '').replace('/\\s/g', '')
|
|
||||||
},
|
|
||||||
height: data.height,
|
height: data.height,
|
||||||
counter: 102400,
|
counter: 102400,
|
||||||
resize: {
|
resize: {
|
||||||
|
@ -189,7 +189,7 @@ export default {
|
|||||||
'insert-before',
|
'insert-before',
|
||||||
'insert-after',
|
'insert-after',
|
||||||
'|',
|
'|',
|
||||||
'upload',
|
// 'upload',
|
||||||
// 'record',
|
// 'record',
|
||||||
'table',
|
'table',
|
||||||
'|',
|
'|',
|
||||||
@ -243,13 +243,6 @@ export default {
|
|||||||
// Vue.Vditor.highlightRender({style: 'github'}, element, this.contentEditor);
|
// Vue.Vditor.highlightRender({style: 'github'}, element, this.contentEditor);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
upload: {
|
|
||||||
max: 10 * 1024 * 1024,
|
|
||||||
url: this.tokenURL.URL,
|
|
||||||
linkToImgUrl: this.tokenURL.linkToImageURL,
|
|
||||||
token: this.tokenURL.token,
|
|
||||||
filename: name => name.replace(/[^(a-zA-Z0-9\u4e00-\u9fa5\.)]/g, '').replace(/[\?\\/:|<>\*\[\]\(\)\$%\{\}@~]/g, '').replace('/\\s/g', '')
|
|
||||||
},
|
|
||||||
height: data.height,
|
height: data.height,
|
||||||
counter: 102400,
|
counter: 102400,
|
||||||
resize: {
|
resize: {
|
||||||
|
@ -194,7 +194,7 @@ export default {
|
|||||||
'insert-before',
|
'insert-before',
|
||||||
'insert-after',
|
'insert-after',
|
||||||
'|',
|
'|',
|
||||||
'upload',
|
// 'upload',
|
||||||
// 'record',
|
// 'record',
|
||||||
'table',
|
'table',
|
||||||
'|',
|
'|',
|
||||||
@ -243,13 +243,6 @@ export default {
|
|||||||
// Vue.Vditor.highlightRender({style: 'github'}, element, this.contentEditor);
|
// Vue.Vditor.highlightRender({style: 'github'}, element, this.contentEditor);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
upload: {
|
|
||||||
max: 10 * 1024 * 1024,
|
|
||||||
url: this.tokenURL.URL,
|
|
||||||
linkToImgUrl: this.tokenURL.linkToImageURL,
|
|
||||||
token: this.tokenURL.token,
|
|
||||||
filename: name => name.replace(/[^(a-zA-Z0-9\u4e00-\u9fa5\.)]/g, '').replace(/[\?\\/:|<>\*\[\]\(\)\$%\{\}@~]/g, '').replace('/\\s/g', '')
|
|
||||||
},
|
|
||||||
height: data.height,
|
height: data.height,
|
||||||
counter: 102400,
|
counter: 102400,
|
||||||
resize: {
|
resize: {
|
||||||
|
Loading…
Reference in New Issue
Block a user