mirror of
https://github.com/element-hq/element-x-ios.git
synced 2025-03-10 21:39:12 +00:00
Fixes #2296 - Set MarkdownContent instead of HTMLContent on the rich text editor when feature disabled
This commit is contained in:
parent
b5be6639d1
commit
4e53c4f690
@ -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() {
|
||||
|
1
changelog.d/2296.bugfix
Normal file
1
changelog.d/2296.bugfix
Normal file
@ -0,0 +1 @@
|
||||
Trying to edit messages containing links with angle brackets doesn't pre-populate the message composer
|
Loading…
x
Reference in New Issue
Block a user