Make sure that char format is properly maintained for multiple formats when swithching to quote and back
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user