Opened 11 years ago

Closed 11 years ago

#10688 closed Bug (duplicate)

Table plugin uses "align" attribute, should use CSS

Reported by: Ryan Fisher Owned by:
Priority: Normal Milestone:
Component: Core : Tables Version:
Keywords: Cc:

Description

When inserting a new table the user can select left|right|center alignment which sets the "align" attribute for the <table> element. This attribute is deprecated in HTML 4.01 and unsupported in HTML 5.

Could this issue be revisited, alignment of the table element should be controlled with either CSS float left|right or centering with auto left/right margins.

Original ticket: http://dev.ckeditor.com/ticket/3762

W3C table align: http://www.w3schools.com/tags/att_table_align.asp

Change History (1)

comment:1 Changed 11 years ago by Jakub Ś

Keywords: table align css removed
Resolution: duplicate
Status: newclosed
Version: 4.1.3

DUP of #10021.

@ryan.fisher we won't be able to change this right now. Despite HTML5 being present there are still older tools (like e.g. outlook) that use attributed and don't honour styles. If you want to get rid of attributes please use ACF as mentioned in #10021.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy