Open Bug 1433387 Opened 6 years ago Updated 2 years ago

Ctrl+Z removes all text without possibility of reversal when used after pasting from word

Categories

(Core :: DOM: Editor, defect, P3)

52 Branch
defect

Tracking

()

People

(Reporter: ForTexo, Unassigned)

References

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0
Build ID: 20180103231032

Steps to reproduce:

When replying to all to an email, then writing text, pasting something from word and using ctrl-z leads to all text being removed without the possibility to redo with ctrl+y. This seems to be connected to the text type Paragraph; when you do this once, the style changes to Body text, which does not reproduce this behaviour. If you change it to paragraph again, the behaviour returns. 

I have had multiple message fully erased by this bug, wasting multiple hours of work.


Actual results:

All text gets removed without the possibility to redo.


Expected results:

It should only remove the pasted text by ctrl-z, and allow it to be reversed by the use of ctrl+y
I can confirm this. Pasting text form MS Word into a paragraph allows for Undo (CTRL+Z) but not Redo (CTRL+Y). Similar to bug 1354359. Trying this in the Mozilla Core editor at https://www-archive.mozilla.org/editor/midasdemo/, undo doesn't even work.

Maybe the maintainers of the Core::Editor might want to take a look, since pasting into web forms using Firefox is most likely also affected.
Component: Message Compose Window → Editor
Product: Thunderbird → Core
See Also: → 1354359
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.