Live Editing of a webpage in QWebEngine was broken in Qt 5.12.8 and Qt 5.12.9 by a bad merge of Chrome 79 changes in qtwebengine chromium.
The breakage was introduced into:
If you diff the working version from Qt 5.12.7 against the Qt 5.12.8 or Qt 5.12.9 versions of this file you can see the bad chunk here:
To make the logic flow better, this change reverses the logic of the test but never swaps the "then" and "else" clauses. There are no later chunks that do the swap.
This results in live editing breaking and actually losing code in some deletes and when trying to change a sequence of paragraphs to a list (ordered or unordered) and other related editing losses. The missing swap of the "then" and "else" part of the merge was left out and is NEEDED. If you compare the code to the 80 based branch, the missing swap is actually there (and so no bug in Qt 5.15).
Please fix this bad merge of Chrome bug asap as Qt 5.12.8 and later are being used as the basis of Linux Mint 20 series, Ubuntu, etc.
I will upload the patch that completes the merge properly just in case this helps.