If the very first block of the document has some style, the cursor is not aware of it.
However, explicitly telling to move the cursor to the start of the document makes the cursor catch up the style
(it's probably slighly better than moving cursor to the left / to the right).
The best I could find was this stackoveflow, unfortunately:
https://stackoverflow.com/questions/37160039/set-default-character-format-in-qtextdocument