[IE] Paste: Table alignment is being applied to table content
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.
- All content inside cells is aligned according to the wrapping div's align setting i.e. center or right.
- 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.
Change History (5)
Keywords: |
Confirmed Review? added
|
Owner: |
set to Garry Yao
|
Status: |
new →
assigned
|
Keywords: |
Review+ added; Review? removed
|
Resolution: |
→ fixed
|
Status: |
assigned →
closed
|
Component: |
Core : Pasting →
Plugin : Paste from Word
|
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.