mustang-im / mustang

Mustang - New full-featured desktop email, chat and video conference client
https://mustang.im
Other
5 stars 1 forks source link

Mail Composer: Start writing below quote (Optional) #34

Open benbucksch opened 4 months ago

benbucksch commented 4 months ago

Allow the user, based on a preference, to start writing after the quote, not above.

That means, after loading the editor and the content:

  1. Remove empty lines at the top
  2. Add paragraph at the end (after the blockquote)
  3. Put the caret/cursor at the end

Parts 1 and 2 should be done in frontend/logic/Mail/Message.reply(). So, in the editor, we'd do only part 3.

jermy-c commented 3 months ago

Parts 1 and 2 should be done in frontend/logic/Mail/Message.reply().

Here right? https://github.com/mustang-im/mustang/blob/b328ac12e6b1dec1c089eb7c7017daf34ce66212/app/logic/Mail/EMail.ts

And place the variable for the preference here?

benbucksch commented 3 months ago

Yes, correct. This ticket is primarily about Part 3 in the list above.

jermy-c commented 3 months ago

Yes, correct. This ticket is primarily about Part 3 in the list above.

Ok, thanks!