First, some preliminary details:
- OS: Linux Mint 19.1 Cinnamon (1 month old. I’m a noob.)
- LibreOffice version: 188.8.131.52
- File format being used: ODT, DOCX
I always write on a word processor first (offline) before copy-pasting it on Wordpress. Writing directly online doesn’t work for me.
I do all the formatting on the word processor (which are usually only bold, italic and paragraph spacing).
On Wordpress, format-wise, I only put the heading tags. I always use the “Visual” editor.
I checked the “Text” editor after I noticed that the headings were not rendering their corresponding CSS (font-size, mostly).
Same thing happens whether the text I copy is from an ODT or DOCX. (I mostly use DOCX because I have another PC that runs Windows, on which I’m not planning to install LO.)
So… (just to be clear) here’s what happens: I copy all that I wrote on LO Writer, paste it on Wordpress’ “Visual” editor, and then click the “Text” editor tab, where I see all these “bloated” html codes, particularly:
<p class="western"><span style="font-size: medium;"><span lang="en-US">Sample text here.</span></span>
This set of code is present in EACH paragraph.