Opened 14 years ago

Closed 14 years ago

#4676 closed Bug (fixed)

Editing tables using table properties dialog overwrites table's style values

Reported by: Damian Owned by: Garry Yao
Priority: Normal Milestone: CKEditor 3.1
Component: Core : Styles Version: SVN (CKEditor) - OLD
Keywords: IBM Confirmed Review+ Cc: Joe Kavanagh, pomu@…

Description

When a table is edited using the table properties dialog, its style attribute is overwritten with values from the dialog, including those style values that the table dialog does not manage, e.g. float, background-color etc.

E.g.

  1. Create a default table
  2. Edit the table in source mode and add background-color
    <table border="1" cellpadding="1" cellspacing="1" style="background-color: red; width: 200px;">
    	<tbody>
    
  3. Go back to WYSIWYG mode and edit the table properties, leave default values and press OK.

Notice that the table's styles have been reset.

Attachments (1)

4676.patch (1.0 KB) - added by Garry Yao 14 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 14 years ago by Garry Yao

Component: GeneralCore : Styles
Keywords: Confirmed added
Owner: set to Garry Yao
Status: newassigned
Version: SVN (CKEditor)

comment:2 Changed 14 years ago by pomu0325

Cc: pomu@… added

Changed 14 years ago by Garry Yao

Attachment: 4676.patch added

comment:3 Changed 14 years ago by Garry Yao

Keywords: Review? added

comment:4 Changed 14 years ago by Frederico Caldeira Knabben

Keywords: Review+ added; Review? removed

comment:5 Changed 14 years ago by Garry Yao

Resolution: fixed
Status: assignedclosed

Fixed with [4572].

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