diff --git a/src/commoncomponents/TextMessageDelegate.qml b/src/commoncomponents/TextMessageDelegate.qml index 09bf1379..1dca5666 100644 --- a/src/commoncomponents/TextMessageDelegate.qml +++ b/src/commoncomponents/TextMessageDelegate.qml @@ -42,7 +42,7 @@ SBSMessageBase { TextEdit { padding: 10 anchors.right: isOutgoing ? parent.right : undefined - text: '' + Body + '' + text: Body width: { if (extraContent.active) Math.max(extraContent.width, @@ -57,7 +57,7 @@ SBSMessageBase { font.pointSize: 11 font.hintingPreference: Font.PreferNoHinting renderType: Text.NativeRendering - textFormat: TextEdit.RichText + textFormat: Text.MarkdownText onLinkHovered: root.hoveredLink = hoveredLink onLinkActivated: Qt.openUrlExternally(hoveredLink) readOnly: true