Ticket #4676 (closed Bug: fixed)

Opened 4 months ago

Last modified 4 months ago

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)
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

4676.patch Download (1.0 KB) - added by garry.yao 4 months ago.

Change History

Changed 4 months ago by garry.yao

  • keywords Confirmed added
  • owner set to garry.yao
  • status changed from new to assigned
  • component changed from General to Core : Styles
  • version set to SVN (CKEditor)

Changed 4 months ago by pomu0325

  • cc pomu@… added

Changed 4 months ago by garry.yao

Changed 4 months ago by garry.yao

  • keywords Review? added

Changed 4 months ago by fredck

  • keywords Review+ added; Review? removed

Changed 4 months ago by garry.yao

  • status changed from assigned to closed
  • resolution set to fixed

Fixed with [4572].

Note: See TracTickets for help on using tickets.