MailDef.js 529 B

1234567891011121314151617
  1. if (typeof OutMailDef == 'undefined') {
  2. OutMailDef = {};
  3. }
  4. var editor;
  5. OutMailDef.getEditor=function(){
  6. editor = CKEDITOR.replace(
  7. 'content',
  8. {
  9. height : $('body').height()-345,
  10. extraPlugins : 'tableresize',
  11. toolbar : [ ['Maximize'],[ 'Source', '-', 'NewPage', 'CustPreview' ], [ 'Undo', 'Redo' ],
  12. [ 'Bold', 'Italic', 'Underline', 'Strike' ], [ 'Table' ],
  13. [ 'TextColor', 'BGColor' ],
  14. [ 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock' ], [ 'FontSize','Styles' ]
  15. ]
  16. });
  17. };