Years later, the OP has not yet awakened after pricking their hand on a spindle, but…
I came across the same issue. While saving a LibreOffice document as HTML ensures clean markup that can be much better pasted to Emails or web-based WYSIWYG editors (say, Reddit), I found it lacking overall. Convenient to use the same interface, but many things don’t work just right.
- Images can’t be embedded by default, so copy-paste to another program sometimes results in a broken image.
- Paragraph/Character/List styles are only partly supported, but what is lost will only be seen after reloading the document.
- Apparently some bugs wrt treating headings as outline entries. (On my Windows system, it would reset to not recognizing Heading 1 as an outline level.)
- Equations can be inserted, but open reloading the file they are just images (again, not embedded). Which is a shame, since the source code could have been stored as a HTML attribute for editing, but also their resolution is so low that characters end up with interrupted lines.
These issues are inherent to coopting a software designed around the open document format for HTML editing (as opposed to treating HTML purely as an import/export format).
I was already before thinking “Thundebird’s editor would be my favorite solution, if only it would allow directly editing HTML files”. Turns out, there are multiple softwares that have exactly that component.
-
SeaMonkey. A bigger “all in one internet suite”, but it also has a composer component.
-
Kompozer. Purely the HTML editing component, with some extensions. Listed as successor by Nvu. SeaMonkey embeds pasted images like Thunderbird, but Kompozer doesn’t. I was wrong about that.
Crucially, the editing process of Thunderbird’s message editor is all there in both, down to the hotkeys (including for the menu bar Alt+Letter Sequence access). Both add features on top of that, but the core is just there.
Edit. Compozer turns out to be badly supported. On Windows, the old binary “just works”, but on Linux
- Compiling from source proofed to at least not work out of the box. It also doesn’t help that the last change was in 2016, so by now it might require compiling old versions of libraries yourself.
- Compiled executables likewise depend on old library versions. Some I was able to resolve with installation of 32bit libraries, others not.
Among all the composer-based solutions, Seamonkey’s composer is the only one I found to be actively supported.
Always a stark reminder on realities of the software world, when it is easier to install an open source software on Windows than on Linux 