Improvements to QTextDocument

Open link in next tab

Improvements to QTextDocument

https://carlschwan.eu/2024/04/14/improvements-to-qtextdocument/

uses QTextDocument for it’s WYSIWYG text editor. This is surpringly quite powerful and thanks to some code borrowed from KMail rich text editor, it wasn’t hard to implement huge part of the markdown specification. But while QTextDocument is great, I hit quickly some limits. This is why I started fixing some of them and I already have some patches up for review in Qt. Default table style By default the style of the tables looks straight from the 90s, I submitted a patch to use something a bit nicer: https://codereview.

Improvements to QTextDocument