From 2bf195a1f5cbf5f473cbbcc929ad64d675e829cb Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Mon, 30 Jul 2018 18:06:31 +0200 Subject: Removed the html switch. Instead of having a switch we're going to always use an html editor, and simply send as plaintext if there is no formatting. To easily remove all formatting a button is added. --- framework/src/domain/textdocumenthandler.h | 1 + 1 file changed, 1 insertion(+) (limited to 'framework/src/domain/textdocumenthandler.h') diff --git a/framework/src/domain/textdocumenthandler.h b/framework/src/domain/textdocumenthandler.h index 38de917d..cb4d4e29 100644 --- a/framework/src/domain/textdocumenthandler.h +++ b/framework/src/domain/textdocumenthandler.h @@ -87,6 +87,7 @@ public: void setFontSize(int size); Q_INVOKABLE void resetFormat(); + Q_INVOKABLE bool containsFormatting(); Q_INVOKABLE static bool isHtml(const QString &); -- cgit v1.2.3