summaryrefslogtreecommitdiffstats
path: root/framework/qml
diff options
context:
space:
mode:
Diffstat (limited to 'framework/qml')
-rw-r--r--framework/qml/TextEditor.qml5
1 files changed, 3 insertions, 2 deletions
diff --git a/framework/qml/TextEditor.qml b/framework/qml/TextEditor.qml
index b6e62ef6..b40d677c 100644
--- a/framework/qml/TextEditor.qml
+++ b/framework/qml/TextEditor.qml
@@ -39,7 +39,7 @@ FocusScope {
39 39
40 onHtmlEnabledChanged: { 40 onHtmlEnabledChanged: {
41 if (htmlEnabled) { 41 if (htmlEnabled) {
42 var t = document.htmlText 42 var t = document.plainText
43 edit.textFormat = Qt.RichText 43 edit.textFormat = Qt.RichText
44 edit.text = t 44 edit.text = t
45 } else { 45 } else {
@@ -101,7 +101,8 @@ FocusScope {
101 101
102 focus: true 102 focus: true
103 selectByMouse: true 103 selectByMouse: true
104 wrapMode: TextEdit.WordWrap 104 wrapMode: TextEdit.Wrap
105 textFormat: Qt.PlainText
105 onCursorRectangleChanged: flickableItem.ensureVisible(cursorRectangle) 106 onCursorRectangleChanged: flickableItem.ensureVisible(cursorRectangle)
106 107
107 color: Kube.Colors.textColor 108 color: Kube.Colors.textColor