优化百度编辑器

This commit is contained in:
msgroup 2021-07-27 14:08:21 +08:00
parent a7202232d2
commit 5fa9e3d576
1 changed files with 1 additions and 13 deletions

View File

@ -229,19 +229,7 @@
title: '文章编辑', title: '文章编辑',
name: 'form' name: 'form'
}], }],
editorConfig: { editorConfig: ms.editorConfig,
imageScaleEnabled: true,
autoHeightEnabled: true,
autoFloatEnabled: false,
scaleEnabled: true,
compressSide: 0,
maxImageSideLength: 1000,
maximumWords: 100000,
initialFrameWidth: '100%',
initialFrameHeight: 400,
serverUrl: ms.base + "/static/plugins/ueditor/1.4.3.3/jsp/editor.do?jsonConfig=%7BvideoUrlPrefix:\'\',fileManagerListPath:\'\',imageMaxSize:2048000,videoMaxSize:204800000,fileMaxSize:51200000,fileUrlPrefix:\'\',imageUrlPrefix:\'\',imagePathFormat:\'/upload/${appId}/cms/content/editor/%7Btime%7D\',filePathFormat:\'/upload/${appId}/cms/content/editor/%7Btime%7D\',videoPathFormat:\'/upload/${appId}/cms/content/editor/%7Btime%7D\'%7D",
UEDITOR_HOME_URL: ms.base + '/static/plugins/ueditor/1.4.3.3/'
},
contentCategoryIdOptions: [], contentCategoryIdOptions: [],
returnIsShow: true, returnIsShow: true,
type: '', type: '',