From 05f161b22ef701a2fb833ce1fcbe6965d31d80e3 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Mon, 18 Sep 2017 13:14:05 +0200 Subject: Switch the textformat based on the html property --- framework/qml/TextEditor.qml | 1 + 1 file changed, 1 insertion(+) (limited to 'framework/qml') diff --git a/framework/qml/TextEditor.qml b/framework/qml/TextEditor.qml index 32b0255c..e14e60b0 100644 --- a/framework/qml/TextEditor.qml +++ b/framework/qml/TextEditor.qml @@ -64,6 +64,7 @@ FocusScope { anchors.fill: parent selectByMouse: true wrapMode: TextEdit.Wrap + textFormat: root.htmlEnabled ? Qt.RichText : Qt.PlainText } TextArea.flickable: edit } -- cgit v1.2.3