diff --git a/src/main/webapp/WEB-INF/manager/cms/content/form.ftl b/src/main/webapp/WEB-INF/manager/cms/content/form.ftl index e6a3daf3..f7826510 100644 --- a/src/main/webapp/WEB-INF/manager/cms/content/form.ftl +++ b/src/main/webapp/WEB-INF/manager/cms/content/form.ftl @@ -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: '',