File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed
vector/src/main/java/im/vector/app/features/home/room/detail/composer Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change
1
+ Update rich text editor library to support pasting of images.
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ ext.libs = [
101
101
],
102
102
element : [
103
103
' opusencoder' : " io.element.android:opusencoder:1.1.0" ,
104
- ' wysiwyg' : " io.element.android:wysiwyg:2.2.1 "
104
+ ' wysiwyg' : " io.element.android:wysiwyg:2.2.2 "
105
105
],
106
106
squareup : [
107
107
' moshi' : " com.squareup.moshi:moshi:$moshi " ,
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ internal class RichTextComposerLayout @JvmOverloads constructor(
88
88
override val text: Editable ?
89
89
get() = editText.text
90
90
override val formattedText: String?
91
- get() = (editText as ? EditorEditText )?.getHtmlOutput ()
91
+ get() = (editText as ? EditorEditText )?.getContentAsMessageHtml ()
92
92
override val editText: EditText
93
93
get() = if (isTextFormattingEnabled) {
94
94
views.richTextComposerEditText
You can’t perform that action at this time.
0 commit comments