Opened 9 years ago
Last modified 8 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 |
Description
Steps to reproduce
- Type few paragraphs of text.
- Applt some format(Font: Georgia, size: 36) to a paragraph
- Copy the Paragraph.
- 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 9 years ago by
Status: | new → confirmed |
---|---|
Version: | 4.5.3 → 4.5.0 |
comment:2 Changed 9 years ago by
If the paste dialogs are removed is there a way to paste as plain text in IE?
comment:3 Changed 9 years ago by
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 8 years ago by
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).
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 :).