Opened 12 years ago

Last modified 12 years ago

#8471 confirmed Bug

Webkit: When Copy/Paste Table Cell It Gets Pasted in next Column

Reported by: Jakub Ś Owned by:
Priority: Normal Milestone:
Component: General Version: 3.0
Keywords: Webkit Cc:

Description

  1. insert default table
  2. in first cell, enter ddd
  3. Select whole cell (See selection.png)
  4. press ctrl+c
  5. Place cursor at the end of text ddd^
  6. press ctrl+v

Result: A cell is pasted into first cell in second column (See result.png)
Expected: A cell is pasted into first cell in first column

Issue reproducible in Webkit from CKEditor 3.0

Attachments (3)

selection.png (17.5 KB) - added by Jakub Ś 12 years ago.
result.png (12.5 KB) - added by Jakub Ś 12 years ago.
replacebycode2.html (5.4 KB) - added by Jakub Ś 12 years ago.

Download all attachments as: .zip

Change History (6)

Changed 12 years ago by Jakub Ś

Attachment: selection.png added

Changed 12 years ago by Jakub Ś

Attachment: result.png added

comment:1 Changed 12 years ago by Jakub Ś

Status: newconfirmed

comment:2 Changed 12 years ago by Jakub Ś

Another TC:

  1. Paste replacebycode2.html into _samples folder
  2. Open in a browser
  3. Place cursor :
  • After This is some great content^ in nested table
  • After More^
  • After More stuff^

Result:
Cursor will be either inserted in next table cell or after table.

Please note that this sample uses insertHtml() method.

Last edited 12 years ago by Jakub Ś (previous) (diff)

Changed 12 years ago by Jakub Ś

Attachment: replacebycode2.html added

comment:3 Changed 12 years ago by Jakub Ś

Just a guess but perhaps #8916 has the same cause for this behavior.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy