mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 01:20:12 +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) {
|
private func set(text: String) {
|
||||||
wysiwygViewModel.textView.flushPills()
|
wysiwygViewModel.textView.flushPills()
|
||||||
wysiwygViewModel.setHtmlContent(text)
|
|
||||||
|
if appSettings.richTextEditorEnabled {
|
||||||
|
wysiwygViewModel.setHtmlContent(text)
|
||||||
|
} else {
|
||||||
|
wysiwygViewModel.setMarkdownContent(text)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private func createLinkAlert() {
|
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