summaryrefslogtreecommitdiffstats
path: root/framework/qml/TextEditor.qml
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-09-13 11:12:30 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-09-13 11:12:30 +0200
commit5e9d12d1d9793afe0099fc8b68eeae1b8bbe8098 (patch)
treef6e8e526e82885ee7d50878d9b43c6907e73baa8 /framework/qml/TextEditor.qml
parent8edb362d96ed740cf5f387649d760c17c7c17d31 (diff)
downloadkube-5e9d12d1d9793afe0099fc8b68eeae1b8bbe8098.tar.gz
kube-5e9d12d1d9793afe0099fc8b68eeae1b8bbe8098.zip
Extract html or plaintext depending on setting
Diffstat (limited to 'framework/qml/TextEditor.qml')
-rw-r--r--framework/qml/TextEditor.qml2
1 files changed, 1 insertions, 1 deletions
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 {
46 selectionStart: edit.selectionStart 46 selectionStart: edit.selectionStart
47 selectionEnd: edit.selectionEnd 47 selectionEnd: edit.selectionEnd
48 //textColor: colorDialog.color 48 //textColor: colorDialog.color
49 onTextChanged: root.text = text 49 onTextChanged: root.htmlEnabled ? root.text = htmlText : root.text = plainText
50 } 50 }
51 51
52 Kube.ScrollHelper { 52 Kube.ScrollHelper {