Change chat bar text field back to plain text

This was changed in 9ed5224470 but this
ended up causing all sorts of strange formatting issues like the quick
format bar not working, and pastes from other applications that kept the
formatting.
This commit is contained in:
Joshua Goins
2025-08-24 09:14:54 -04:00
parent 91b00a34b7
commit 821d7621e3
2 changed files with 3 additions and 2 deletions

View File

@@ -330,7 +330,7 @@ QString ChatDocumentHandler::getText() const
qCWarning(ChatDocumentHandling) << "getText called with no QQuickTextDocument available.";
return {};
}
return document()->toRawText();
return document()->toPlainText();
}
void ChatDocumentHandler::pushMention(const Mention mention) const