Ticket #6008: tablewidth.patch

File tablewidth.patch, 1000 bytes (added by Thomas Zahreddin, 14 years ago)

patch, not sure if it is percents or %

  • plugins/table/dialogs/table.js

    diff --git a/plugins/table/dialogs/table.js b/plugins/table/dialogs/table.js
    index e0d17d5..f96d082 100644
    a b For licensing, see LICENSE.html or http://ckeditor.com/license 
    321321                                                                                                                                id : 'txtWidth',
    322322                                                                                                                                style : 'width:5em',
    323323                                                                                                                                label : e.lang.table.width,
    324                                                                                                                                 'default' : 200,
     324                                                                                                                                'default' : 100,
    325325                                                                                                                                validate : CKEDITOR.dialog.validate
    326326                                                                                                                                                .number(e.lang.table.invalidWidth),
    327327                                                                                                                                onLoad : function() {
    For licensing, see LICENSE.html or http://ckeditor.com/license 
    359359                                                                                                                                type : 'select',
    360360                                                                                                                                label : e.lang.table.widthUnit,
    361361                                                                                                                                labelStyle : 'visibility:hidden',
    362                                                                                                                                 'default' : 'pixels',
     362                                                                                                                                'default' : 'percents',
    363363                                                                                                                                items : [
    364364                                                                                                                                                [
    365365                                                                                                                                                                e.lang.table.widthPx,
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy