mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +00:00
Fixes #2296 - Set MarkdownContent instead of HTMLContent on the rich text editor when feature disabled
This commit is contained in:
@@ -245,7 +245,12 @@ final class ComposerToolbarViewModel: ComposerToolbarViewModelType, ComposerTool
|
||||
|
||||
private func set(text: String) {
|
||||
wysiwygViewModel.textView.flushPills()
|
||||
wysiwygViewModel.setHtmlContent(text)
|
||||
|
||||
if appSettings.richTextEditorEnabled {
|
||||
wysiwygViewModel.setHtmlContent(text)
|
||||
} else {
|
||||
wysiwygViewModel.setMarkdownContent(text)
|
||||
}
|
||||
}
|
||||
|
||||
private func createLinkAlert() {
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
Trying to edit messages containing links with angle brackets doesn't pre-populate the message composer
|
||||
Reference in New Issue
Block a user