Changes between Version 4 and Version 5 of Ticket #10021


Ignore:
Timestamp:
Feb 4, 2013, 11:56:04 AM (11 years ago)
Author:
Jakub Ś
Comment:

@danya_postfactum I have modified your description as you are right - CKEditor uses some old and deprecated attributes that should be replaced by styles in HTML5.

  1. When creating table one can always delete these values in table dialog (manually set values to zero or delete them)
  2. These default values are set in dialog plugin and the only way to change them is by setting them to empty values:
    CKEDITOR.on( 'dialogDefinition', function( ev )	{				
    				var dialogName = ev.data.name;
    				var dialogDefinition = ev.data.definition;						
    				if ( dialogName == 'table' ){
    					var infoTab = dialogDefinition.getContents( 'info' );
    					infoTab.get( 'txtBorder' ).default = '';
    					infoTab.get( 'txtWidth' ).default = '';
    					infoTab.get( 'txtCellSpace' ).default = '';
    					infoTab.get( 'txtCellPad' ).default = '';
    				}
    			}	);
    

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10021

    • Property Status changed from new to confirmed
    • Property Component changed from Core : Editable to Core : Tables
  • Ticket #10021 – Description

    v4 v5  
    33Edit:[[BR]]
    44When I insert new table it uses attributes that are deprecated in HTML5
    5 border="1" cellpadding="1" cellspacing="1" align="left" attributes. Please see: http://www.w3schools.com/tags/tag_table.asp
     5cellpadding,cellspacing,align,width,summary,rules,frame,bgcolor attributes. Please see: http://www.w3schools.com/tags/tag_table.asp
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy