Ticket #2973: 2973.patch
File 2973.patch, 857 bytes (added by , 15 years ago) |
---|
-
templates.js
37 37 div.setAttribute( 'class', 'cke_tpl_item' ); 38 38 39 39 // 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>'; 41 41 42 42 if( template.image && imagesPath ) 43 43 html += '<td class="cke_tpl_preview_img"><img src="' + CKEDITOR.getUrl( imagesPath + template.image ) + '"></td>'; 44 44 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/>'; 46 46 47 47 if( template.description ) 48 48 html += '<span>' + template.description + '</span>';