Opened 8 years ago

Last modified 7 years ago

#13751 confirmed Bug

Chrome: Text Style lost when we paste content through Paste Dialog

Reported by: Satya Minnekanti Owned by:
Priority: Normal Milestone:
Component: General Version: 4.5.0
Keywords: IBM Cc: chrisgui, Irina


Steps to reproduce

  1. Type few paragraphs of text.
  2. Applt some format(Font: Georgia, size: 36) to a paragraph
  3. Copy the Paragraph.
  4. Keep cursor in new paragraph, Open Paste dialog, paste content in the dialog and click OK button.

Expected result

Pasted text has all the formatting that was applied to it.

Actual result

All the formatting applied to pasted text is removed. This is working in 4.4.8

Same issue happens with Indentation, Alignment etc.

Change History (4)

comment:1 Changed 8 years ago by Piotrek Koszuliński

Status: newconfirmed

Related to #13753. We can fix it by detecting the transfer type during the paste in the paste dialog and passing it to the paste event. Or by mocking the data transfer for that kind of paste.

However, I would strongly recommend removing the paste dialogs from the toolbar. This is a feature that should be forgotten :).

comment:2 Changed 8 years ago by daporro

If the paste dialogs are removed is there a way to paste as plain text in IE?

comment:3 Changed 8 years ago by Piotrek Koszuliński

I didn't mean all dialogs. The paste as plain text one is actually useful, currently, when there's no other option to turn other pasting mode easily (although, it should be very simple to write a plugin which adds a button to toggle between normal and plain text mode).

comment:5 Changed 7 years ago by Jakub Ś

It turns out we have quite a few issues with pasting and they all may be related as they all can be reproduced from 4.5.0:
Styles Stripping: #13860, #13926, #14250, #14358
Styles stripping on Chrome in various test cases: #14921, #14593, #13753, #13751, #16454
ForcePasteAsPlainText pastes formatted HTML with Ctrl+V: #13969
Weird event pasting relation (not sure): #13763
White spaces not preserved: #14614
Problem with pasting in LibreOffice: #14622 (we do not support it but I have added this issue because general solution might also bring back old behaviour).

Last edited 7 years ago by Jakub Ś (previous) (diff)
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