Ticket #8661 (confirmed Bug)

Opened 3 years ago

Last modified 3 years ago

Copy paste table does not retain table width - style attribute in not copied

Reported by: bsilverm Owned by:
Priority: Normal Milestone:
Component: Core : Pasting Version: 3.0
Keywords: Firefox Cc:

Description (last modified by j.swiderski) (diff)

Steps to reproduce:

  1. Create a table (default values are fine)
  2. Place the cursor in the first cell and click/drag to highlight the rest of the table
  3. Paste the table in the editor

Expected result: The pasted table retains the width of the copied table

Actual result: The pasted table appears very small and has the minimum column width possible (screenshot attached)

Workaround: Copy the table by placing the cursor outside of the table when highlighting it. The table pastes properly this way.

The problem is reproducible on the ckeditor.com/demo application.


ckeditor_bug.jpg (50.9 KB) - added by j.swiderski 2 years ago.

Change History

comment:1 Changed 3 years ago by j.swiderski

  • Keywords table, cell, paste, copy, highlight, width, small, size removed
  • Description modified (diff)

comment:2 Changed 3 years ago by j.swiderski

  • Status changed from new to confirmed
  • Keywords Firefox added
  • Version changed from 3.6.2 to 3.0
  • Description modified (diff)
  • Summary changed from Copy paste table does not retain table width to Copy paste table does not retain table width - style attribute in not copied

This issue has only been reproducible in Firefox from CKEditor 3.0.

Copying and pasting default table as described above results in thin table. This is because style attribute in not copied. The issue is true for Firefox3-9.

Firefox9 however has one more major issue. Not only it does not copy style attribute but it also pastes all cells in single row. Described here: #8684.

Changed 2 years ago by j.swiderski

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