For any #Python devs working with Qt who've stumbled on the "Megasolid Idiom" text editor example (https://www.pythonguis.com/examples/python-rich-text-editor/), you might be disappointed that it's written in PyQt5, when PyQt6 is available.
I've ported it to #PyQt 6 for you: https://github.com/Ovid/pyqt6-rich-text-editor
It's still a bit of a hack since I just did a straight port with some minor cleanup. It needs tests. It also needs bars for adjust margins, but despite my searching, I can't figure out how to do that.
Writing a Rich Text Editor in PyQt5
Simple WYSIWYG editor in Python. Megasolid Idiom is a rich text word processor implemented in Python and Qt.Martin Fitzpatrick (Python GUIs)
This entry was edited (9 months ago)