Commit 5fa9e3d5 authored by msgroup's avatar msgroup

优化百度编辑器

parent a7202232
......@@ -229,19 +229,7 @@
title: '文章编辑',
name: 'form'
}],
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/'
},
editorConfig: ms.editorConfig,
contentCategoryIdOptions: [],
returnIsShow: true,
type: '',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment