|
@@ -131,6 +131,7 @@ export default {
|
|
|
this.editor.config.height = 300
|
|
|
this.editor.config.showLinkImg = false
|
|
|
this.editor.config.uploadImgShowBase64 = true // 使用 base64 保存图片不建议使用这种,我只是图个方便
|
|
|
+ this.editor.config.uploadImgMaxSize = 2 * 1024 * 1024 // 2M
|
|
|
this.$editorTools.addAudio(this, this.editor, 'simple')
|
|
|
this.$editorTools.addVideoUpload(this, this.editor, 'simple')
|
|
|
this.$editorTools.addCanvas(this, this.editor)
|