When inserting a new table, the properties' dialog initially shows
- cellpadding = 1
- cellpadding = 1
- border = 1
Can these defaults be set to 0? So if a properties' dialog for a new table appears, all values are 0.
Michael G. Schneider
- cellpadding = 1
- cellpadding = 1
- border = 1
Can these defaults be set to 0? So if a properties' dialog for a new table appears, all values are 0.
Michael G. Schneider

Re: Default cellpadding, cellspacing, border for a table
Thanks.
Re: Default cellpadding, cellspacing, border for a table
CKEDITOR.on('dialogDefinition', function( ev ) { var dialogName = ev.data.name; var dialogDefinition = ev.data.definition; if(dialogName === 'table') { var infoTab = dialogDefinition.getContents('info'); var cellSpacing = infoTab.get('txtCellSpace'); cellSpacing['default'] = "0"; var cellPadding = infoTab.get('txtCellPad'); cellPadding['default'] = "0"; var border = infoTab.get('txtBorder'); border['default'] = "0"; } });