Ver Fonte

优化百度编辑器

msgroup há 4 anos atrás
pai
commit
5fa9e3d576
1 ficheiros alterados com 1 adições e 13 exclusões
  1. 1 13
      src/main/webapp/WEB-INF/manager/cms/content/form.ftl

+ 1 - 13
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: '',