From 1b3ba6bc29ec8cd1c3eae51d6d48bb90d9ec1877 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 25 Feb 2021 16:10:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dck=E7=BC=96=E8=BE=91=E5=99=A8?= =?UTF-8?q?=E7=A7=BB=E5=8A=A8=E7=AB=AF=E5=9B=BE=E7=89=87=E4=B8=8D=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- o2web/source/x_component_cms_Xform/Htmleditor.js | 3 ++- o2web/source/x_component_process_Xform/Htmleditor.js | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/o2web/source/x_component_cms_Xform/Htmleditor.js b/o2web/source/x_component_cms_Xform/Htmleditor.js index b147f5f6d2..eeb2d54333 100644 --- a/o2web/source/x_component_cms_Xform/Htmleditor.js +++ b/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' ] } ]; } } diff --git a/o2web/source/x_component_process_Xform/Htmleditor.js b/o2web/source/x_component_process_Xform/Htmleditor.js index 1f7037bf98..5f2e68068e 100644 --- a/o2web/source/x_component_process_Xform/Htmleditor.js +++ b/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' ] } ]; } } -- GitLab