Przeglądaj źródła

Merge branch 'fix/Process.html_editor_mobile_notshowimg' into 'wrdp'

Merge of fix/Process.html_editor_mobile_notshowimg 修复ck编辑器移动端图片不显示的问题  to wrdp

See merge request o2oa/o2oa!3044
蔡祥熠 4 lat temu
rodzic
commit
dae94bcadf

+ 2 - 1
o2web/source/x_component_cms_Xform/Htmleditor.js

@@ -78,7 +78,8 @@ MWF.xApplication.cms.Xform.Htmleditor = MWF.CMSHtmleditor =  new Class({
                 if (!editorConfig.toolbar && !editorConfig.toolbarGroups){
                     editorConfig.toolbar = [
                         { name: 'paragraph',   items: [ 'Bold', 'Italic', "-" , 'TextColor', "BGColor", 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock', "-", 'Undo', 'Redo' ] },
-                        { name: 'basicstyles', items: [ 'Styles', 'FontSize']}
+                        { name: 'basicstyles', items: [ 'Styles', 'FontSize']},
+                        { name: 'insert', items : [ 'Image' ] }
                     ];
                 }
             }

+ 2 - 1
o2web/source/x_component_process_Xform/Htmleditor.js

@@ -78,7 +78,8 @@ MWF.xApplication.process.Xform.Htmleditor = MWF.APPHtmleditor =  new Class(
                 if (!editorConfig.toolbar && !editorConfig.toolbarGroups){
                     editorConfig.toolbar = [
                         { name: 'paragraph',   items: [ 'Bold', 'Italic', "-" , 'TextColor', "BGColor", 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock', "-", 'Undo', 'Redo' ] },
-                        { name: 'basicstyles', items: [ 'Styles', 'FontSize']}
+                        { name: 'basicstyles', items: [ 'Styles', 'FontSize']},
+                        { name: 'insert', items : [ 'Image' ] }
                     ];
                 }
             }