Opened 7 years ago

Closed 6 years ago

#4676 closed Bug (fixed)

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

Reported by: damo Owned by: garry.yao
Priority: Normal Milestone: CKEditor 3.1
Component: Core : Styles Version: SVN (CKEditor) - OLD
Keywords: IBM Confirmed Review+ Cc: JoeK, 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 6 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 7 years ago by garry.yao

  • Component changed from General to Core : Styles
  • Keywords Confirmed added
  • Owner set to garry.yao
  • Status changed from new to assigned
  • Version set to SVN (CKEditor)

comment:2 Changed 7 years ago by pomu0325

  • Cc pomu@… added

Changed 6 years ago by garry.yao

comment:3 Changed 6 years ago by garry.yao

  • Keywords Review? added

comment:4 Changed 6 years ago by fredck

  • Keywords Review+ added; Review? removed

comment:5 Changed 6 years ago by garry.yao

  • Resolution set to fixed
  • Status changed from assigned to closed

Fixed with [4572].

Note: See TracTickets for help on using tickets.
© 2003 – 2016 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy