I've recently switched to OnlyOffice ("desktop version" - probably Electron) since online reviews seem to suggest it has better support for docx than LibreOffice. You might give it a try, as it supports rtf as a document format, but not sure how well that works.