Ticket #2973: 2973.patch

File 2973.patch, 857 bytes (added by Artur Formella, 15 years ago)
  • templates.js

     
    3737                div.setAttribute( 'class', 'cke_tpl_item' );
    3838
    3939                // Build the inner HTML of our new item DIV.
    40                 var html = '<table class="cke_tpl_preview"><tr>';
     40                var html = '<table style="width:350px;" class="cke_tpl_preview"><tr>';
    4141
    4242                if( template.image && imagesPath )
    4343                        html += '<td class="cke_tpl_preview_img"><img src="' + CKEDITOR.getUrl( imagesPath + template.image ) + '"></td>';
    4444
    45                 html += '<td><span class="cke_tpl_title">' + template.title + '</span><br/>';
     45                html += '<td style="white-space:normal;"><span class="cke_tpl_title">' + template.title + '</span><br/>';
    4646
    4747                if( template.description )
    4848                        html += '<span>' + template.description + '</span>';
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy