From 7a20fb40818a4bb34a3cb94a0eab5b86e3cdcb2d Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Fri, 17 Aug 2018 18:46:37 +0200 Subject: [PATCH] IDEMPIERE-2527 Displaying html tags produced by ckeditor in jasper / thanks to Anozi Mada --- org.adempiere.ui.zk/js/ckeditor/config-min.js | 3 +++ org.adempiere.ui.zk/js/ckeditor/config.js | 3 +++ 2 files changed, 6 insertions(+) diff --git a/org.adempiere.ui.zk/js/ckeditor/config-min.js b/org.adempiere.ui.zk/js/ckeditor/config-min.js index 43eba578da..2f3b8f3a35 100644 --- a/org.adempiere.ui.zk/js/ckeditor/config-min.js +++ b/org.adempiere.ui.zk/js/ckeditor/config-min.js @@ -2,6 +2,9 @@ CKEDITOR.editorConfig = function(config) { config.resize_enabled = false; config.toolbarCanCollapse = true; config.toolbar = 'MyToolbar'; + config.coreStyles_bold = { element: 'b', overrides: 'strong' }; + config.coreStyles_italic = { element: 'i', overrides: 'em' }; + config.coreStyles_strike = { element: 'strike', overrides: 's' }; config.toolbar_MyToolbar = [ { name: 'styles', items : [ 'Styles','Format','Font','FontSize' ] }, diff --git a/org.adempiere.ui.zk/js/ckeditor/config.js b/org.adempiere.ui.zk/js/ckeditor/config.js index 4df386cf60..b58eb628f6 100644 --- a/org.adempiere.ui.zk/js/ckeditor/config.js +++ b/org.adempiere.ui.zk/js/ckeditor/config.js @@ -2,6 +2,9 @@ CKEDITOR.editorConfig = function(config) { config.resize_enabled = false; config.toolbarCanCollapse = true; config.toolbar = 'MyToolbar'; + config.coreStyles_bold = { element: 'b', overrides: 'strong' }; + config.coreStyles_italic = { element: 'i', overrides: 'em' }; + config.coreStyles_strike = { element: 'strike', overrides: 's' }; config.toolbar_MyToolbar = [ { name: 'styles', items : [ 'Styles','Format','Font','FontSize' ] },