AquaMail Forum

English - Android => How do I... => Topic started by: someone on July 02, 2016, 09:17:14 pm

Title: Pasting text as a quote?
Post by: someone on July 02, 2016, 09:17:14 pm
Is it possible to paste some text so if appears as a quote?
Title: Re: Pasting text as a quote?
Post by: someone on July 03, 2016, 01:27:22 am
That's a shame. It would be nice. I wonder if it would be difficult to implement.
Title: Re: Pasting text as a quote?
Post by: nica on July 03, 2016, 02:59:58 am
Is it possible to paste some text so if appears as a quote?
Yes. Type ">", followed by a blank space. Then paste your text from clipboard behind.

The character ">" is the default setting and can be changed in Settings > Compose and sending > Prefix for plain text replies.
Title: Re: Pasting text as a quote?
Post by: someone on July 03, 2016, 06:45:59 am
Thank you. I knew that. I have it in the "insert automated reply" tool. Just wondered why it could not be automated like on the desktop email clients. Would save a couple of clicks. (Not a big deal)
Title: Re: Pasting text as a quote?
Post by: Kostya Vasilyev on July 03, 2016, 04:06:50 pm
Sorry.

I was seeing some stability issues in underlying Android code (the actual editor) related to "paragraph type spans", that is, styling that applies to "paragraphs" not individual characters -- and so disabled "paragraph type spans" completely, including filtering them out when pasting.

The impact was -- underlying Android code getting unhappy, and then throwing exceptions and crashing the app (not just logging a warning and proceeding anyway, as would seem more reasonable), and then the user losing everything they've typed.
Title: Re: Pasting text as a quote?
Post by: StR on July 03, 2016, 06:47:32 pm
Now, I understand why pasting text from html (in a plain-text message) does not preserve hard line breaks (paragraphs) .

It's  very inconvenient and ugly.
Shame on Google for such a buggy editor library.
Title: Re: Pasting text as a quote?
Post by: Kostya Vasilyev on July 03, 2016, 06:56:05 pm
Sigh... I have it somewhere on my to-do to look into this again and also implement proper quoting "spans"...
Title: Re: Pasting text as a quote?
Post by: someone on July 03, 2016, 09:24:21 pm
You're doing great Kostya. Aquamail is great just as it is.