ui/compose: write the body as rich text, and send it as HTML too

Compose's body was a plain text field, so mail could carry no bold, no links, and no lists. siv dbb9eb3a adds a rich text editor that keeps Portable Text; repin it and write the body there, with the marks, links, quotes, and lists mail's HTML has. The draft keeps its text as before, a line or a run of lines a block, quotes as "> " lines, so starting a reply, a signature, a mailto: draft, and a draft read back all still go through text. Once the body has a mark, a link, or a list, it goes as multipart/alternative, the text then the HTML, written as mail clients write it; a quote alone stays text, so plain replies stay plain.


Author rockorager.dev
Date Commit Parent 45481c21