From c7dcae386503a88d05ad575a29e571dd5fc40c87 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Tue, 12 Sep 2017 23:08:47 +0200 Subject: Restore the plain text editor until we sort out the html composer. It's royally broken right now. --- components/kube/contents/ui/ComposerView.qml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'components') diff --git a/components/kube/contents/ui/ComposerView.qml b/components/kube/contents/ui/ComposerView.qml index fe53f023..fcc9c849 100644 --- a/components/kube/contents/ui/ComposerView.qml +++ b/components/kube/contents/ui/ComposerView.qml @@ -274,7 +274,8 @@ Kube.View { Kube.Button { id: html - + //FIXME get the html composer to do something useful + visible: false text: checked ? qsTr("plain") : qsTr("html") checkable: true } @@ -356,8 +357,8 @@ Kube.View { onActiveFocusChanged: closeFirstSplitIfNecessary() Keys.onEscapePressed: recipients.forceActiveFocus() -// text: document.text //composerController.body -// onTextChanged: composerController.body = text; + text: composerController.body + onTextChanged: composerController.body = text; } } } -- cgit v1.2.3