Ticket #4892 (closed Bug: fixed)

Opened 3 months ago

Last modified 2 months ago

[IE] Paste: Table alignment is being applied to table content

Reported by: damo Owned by: garry.yao
Priority: Normal Milestone: CKEditor 3.1
Component: Core : Pasting Version:
Keywords: IBM Confirmed Review+ Cc:

Description

Tables with an explicit alignment set are pasted with a wrapping div to set that alignment. When the alignment is center or right, various problems are encountered after pasting.

1. All content inside cells is aligned according to the wrapping div's align setting i.e. center or right.

2. The option to set specific paragraph alignment in a cell to left is not enabled or not possible. Although, it is possible to set center, right and justify.

Reproduced in IE 6 & 7.

Attachments

4892.patch Download (1.5 KB) - added by garry.yao 3 months ago.

Change History

Changed 3 months ago by garry.yao

Changed 3 months ago by garry.yao

  • keywords Confirmed Review? added
  • owner set to garry.yao
  • status changed from new to assigned

There's a reason behind M$'s using <div align="right"> to represent right-aligned block that it doesn't cause following text to surround the table, while a table is setting to allow text surrounding in MS-Word, align will just get applied on the table instead.
But the problem damo described here is still valid, since IE inherit the div's alignment into table cells. Proposing a fix that works for both cases.

Changed 3 months ago by fredck

  • keywords Review+ added; Review? removed

Changed 2 months ago by garry.yao

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

Fixed with [4838].

Note: See TracTickets for help on using tickets.