fix #7121 - crm fixes to email
[Pman.Core] / Pman.Dialog.CoreEmail.js
index 280b803..1ef1e30 100644 (file)
@@ -781,6 +781,8 @@ Pman.Dialog.CoreEmail = {
                items  : [
                 {
                  xtype : 'HtmlEditor',
+                 allowComments : true,
+                 autoClean : false,
                  autosave : function() {
                      
                      var body = _this.form.findField('bodytext');
@@ -797,43 +799,64 @@ Pman.Dialog.CoreEmail = {
                  },
                  clearUp : false,
                  cwhite : [ 
-                     'margin',
-                     'padding',
-                     'text-align',
                      'background',
-                     'height',
-                     'width',
                      'background-color',
+                     'border',
+                     'border-radius',
+                     'border-bottom',
+                     'border-left',
+                     'border-right',
+                     'border-top',
+                     'border-collapse',
+                      'border-color',
+                      'border-style',
+                     'border-width',
+                 
+                     
+                     'box-shadow',
+                     'clear',
+                     'color',
+                     'cursor',
+                     'display',
+                     'float' ,
+                     'font-family',
                      'font-size',
+                     'font-style',        
+                     'font-weight',
+                 
+                     'height',
+                     'left',
                      'line-height',
-                     'color',
-                     'outline',
-                     'text-decoration',
-                     'position',
-                     'clear',
-                     'overflow',
-                     'margin-top',
-                     'border-bottom',
-                     'top',
                      'list-style',
+                     'margin',
+                     'margin-bottom',
                      'margin-left',
-                     'border',
-                     'float' ,
                      'margin-right',
-                     'padding-top',
+                     'margin-top',
+                     'max-width',
                      'min-height',
-                     'left',
-                     'padding-left',
-                     'font-weight',
-                     'font-family',
-                     'display',
-                     'margin-bottom',
+                     '-ms-interpolation-mode',
+                     'mso-table-rspace',
+                     '-ms-text-size-adjust',
+                     'outline',
+                     'overflow',
+                     'padding',
                      'padding-bottom',
+                     'padding-left',
+                     'padding-right',
+                     'padding-top',
+                     'position',
+                     'right',
+                     'text-align',
+                     'text-decoration',
+                     'top',
                      'vertical-align',
-                     'cursor',
-                     'z-index',
-                     'right'
+                     '-webkit-text-size-adjust',
+                     'width',
+                     'width',
+                     'z-index'
                   ],
+                 enableBlocks : false,
                  height : 250,
                  name : 'bodytext',
                  resizable : 's',