Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/8270.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update rich text editor library to support pasting of images.
2 changes: 1 addition & 1 deletion dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ ext.libs = [
],
element : [
'opusencoder' : "io.element.android:opusencoder:1.1.0",
'wysiwyg' : "io.element.android:wysiwyg:2.2.1"
'wysiwyg' : "io.element.android:wysiwyg:2.2.2"
],
squareup : [
'moshi' : "com.squareup.moshi:moshi:$moshi",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ internal class RichTextComposerLayout @JvmOverloads constructor(
override val text: Editable?
get() = editText.text
override val formattedText: String?
get() = (editText as? EditorEditText)?.getHtmlOutput()
get() = (editText as? EditorEditText)?.getContentAsMessageHtml()
override val editText: EditText
get() = if (isTextFormattingEnabled) {
views.richTextComposerEditText
Expand Down