I don't know if it's really in Qt 5.12 or maybe it's the Ubuntu implementation or whatever. But this works for me now. Contributes to issue CURA-6434.
@@ -90,6 +90,7 @@ Window
textArea.text: manager.getExampleData()
textArea.textFormat: Text.RichText
+ textArea.wrapMode: Text.Wrap
textArea.readOnly: true
}