Make sure that char format is properly maintained for multiple formats when swithching to quote and back

This commit is contained in:
James Graham
2026-02-11 18:21:36 +00:00
parent 526cb07840
commit 9f6853f771

View File

@@ -326,7 +326,7 @@ void ChatTextItemHelper::insertFragment(const QTextDocumentFragment fragment, In
text = trim(text);
cursor.insertText(text);
} else {
cursor.insertMarkdown(trim(fragment.toMarkdown()));
cursor.insertFragment(fragment);
}
if (keepPosition) {
cursor.setPosition(currentPosition);