Open Bug 1407852 Opened 3 years ago Updated 3 years ago

Create new undo action on each pressed enter space or tab


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

52 Branch





(Reporter: yanp.bugz, Unassigned)


User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36

Steps to reproduce:

Enter some text: several words and several paragraphs, press ^Z

Actual results:

Everuthing disappeared

Expected results:

^Z (undo) must remove last entered word or paragraph since it's convinient across many programs (eny text editor, any word processor)
That's a "feature" of the Core::Editor that provides editing for Thunderbird and Firefox. Just type text into the comment box here and you can observer the same behaviour in FF.
Component: Message Compose Window → Editor
Product: Thunderbird → Core
I've looked at the source code. Maybe to solve this issue we should handle space/enter in EditorBase::HandleKeyPressEvent and create new transaction.
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.