Opened 6 years ago

Last modified 6 years ago

#8661 confirmed Bug

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

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

Description (last modified by Jakub Ś)

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.

Attachments (1)

ckeditor_bug.jpg (50.9 KB) - added by Jakub Ś 5 years ago.

Download all attachments as: .zip

Change History (3)

comment:1 Changed 6 years ago by Jakub Ś

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

comment:2 Changed 6 years ago by Jakub Ś

Description: modified (diff)
Keywords: Firefox added
Status: newconfirmed
Summary: Copy paste table does not retain table widthCopy paste table does not retain table width - style attribute in not copied
Version: 3.6.23.0

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 5 years ago by Jakub Ś

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