Ticket #4245: 4245_2.patch

File 4245_2.patch, 1.6 KB (added by Garry Yao, 15 years ago)
  • _source/plugins/templates/templates/default.js

     
    1919                                description: 'One main image with a title and text that surround the image.',
    2020                                html:
    2121                                        '<h3>' +
    22                                                 '<img style="margin-right: 10px" height="100" alt="" width="100" align="left"/>' +
     22                                                '<img style="margin-right: 10px" height="100" width="100" align="left"/>' +
    2323                                                'Type the title here'+
    2424                                        '</h3>' +
    2525                                        '<p>' +
     
    3131                                image: 'template2.gif',
    3232                                description: 'A template that defines two colums, each one with a title, and some text.',
    3333                                html:
    34                                         '<table cellspacing="0" cellpadding="0" width="100%" border="0">' +
     34                                        '<table cellspacing="0" cellpadding="0" style="width:100%;" border="0">' +
    3535                                                '<tr>' +
    36                                                         '<td width="50%">' +
     36                                                        '<td style="width:50%">' +
    3737                                                                '<h3>Title 1</h3>' +
    3838                                                        '</td>' +
    3939                                                        '<td></td>' +
    40                                                         '<td width="50%">' +
     40                                                        '<td style="width:50%">' +
    4141                                                                '<h3>Title 2</h3>' +
    4242                                                        '</td>' +
    4343                                                '</tr>' +
     
    6464                                                '<h3>' +
    6565                                                        'Title goes here' +
    6666                                                '</h3>' +
    67                                                 '<table style="float: right" cellspacing="0" cellpadding="0" width="150" border="1">' +
     67                                                '<table style="float: right" cellspacing="0" cellpadding="0" style="width:150px;" border="1">' +
    6868                                                        '<caption style="border:solid 1px black">' +
    6969                                                                '<strong>Table title</strong>' +
    7070                                                        '</caption>' +
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy