Show link preview for links in room topics
This has an important security benefit, to prevent hiding fake links behind real-looking ones.
This commit is contained in:
committed by
Tobias Fella
parent
1f4a271dd6
commit
cb9fd02dc7
@@ -87,5 +87,10 @@ ColumnLayout {
|
||||
textFormat: TextEdit.MarkdownText
|
||||
wrapMode: Text.Wrap
|
||||
onLinkActivated: link => UrlHelper.openUrl(link)
|
||||
onHoveredLinkChanged: if (hoveredLink.length > 0 && hoveredLink !== "1") {
|
||||
applicationWindow().hoverLinkIndicator.text = hoveredLink;
|
||||
} else {
|
||||
applicationWindow().hoverLinkIndicator.text = "";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user