mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-18 07:28:28 +02:00
Rich-text editor: enable translations between Markdown and HTML when toggling text formatting
This commit is contained in:
@@ -137,8 +137,7 @@ class WysiwygInputToolbarView: MXKRoomInputToolbarView, NibLoadable, HtmlRoomInp
|
||||
}
|
||||
|
||||
private func sendWysiwygMessage(content: WysiwygComposerContent) {
|
||||
let html = content.html.isEmpty ? content.plainText : content.html
|
||||
delegate?.roomInputToolbarView?(self, sendFormattedTextMessage: html, withRawText: content.plainText)
|
||||
delegate?.roomInputToolbarView?(self, sendFormattedTextMessage: content.html, withRawText: content.markdown)
|
||||
}
|
||||
|
||||
private func showSendMediaActions() {
|
||||
|
||||
Reference in New Issue
Block a user