From 5e9d12d1d9793afe0099fc8b68eeae1b8bbe8098 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Wed, 13 Sep 2017 11:12:30 +0200 Subject: Extract html or plaintext depending on setting --- framework/qml/TextEditor.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework/qml') diff --git a/framework/qml/TextEditor.qml b/framework/qml/TextEditor.qml index 047c9b77..8a298989 100644 --- a/framework/qml/TextEditor.qml +++ b/framework/qml/TextEditor.qml @@ -46,7 +46,7 @@ FocusScope { selectionStart: edit.selectionStart selectionEnd: edit.selectionEnd //textColor: colorDialog.color - onTextChanged: root.text = text + onTextChanged: root.htmlEnabled ? root.text = htmlText : root.text = plainText } Kube.ScrollHelper { -- cgit v1.2.3