Is there way to configure (not extend) the email preview to a larger area?

Hi.

I´m getting requests asking if the red circle in the picture can be made bigger. The email module is not in Studio. So is there a way?

Thanks,

KGM

Parents Reply
  • Hi,

    You should do this programmatically:

    Find the file: 

    /modules/Emails/clients/base/fields/htmleditable_tinymce/htmleditable_tinymce.js

     

    Create a custom version of it into path (meaning copy the file into this path):

    custom/modules/Emails/clients/base/fields/htmleditable_tinymce/htmleditable_tinymce.js

     

    Then, find the line:

    _renderView: function() 

     Scroll down to this block of code:

    if (this.$el.find('iframe').length === 0) {
        iFrame = $('<iframe>', {
            src: '',
            class: 'htmleditable' + (this.def.span ? ' span' + this.def.span : ''),
            frameborder: 0,
            name: this.name
        });

    and directly below this line:

    frameborder: 0,

    add the following line of code:

    height: 500,

    (or change 500 to whatever size you wish)

Children