Skip to content

Commit

Permalink
added comment
Browse files Browse the repository at this point in the history
  • Loading branch information
khaykov committed Nov 27, 2024
1 parent 1e415bd commit cae619e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions aztec/src/main/kotlin/org/wordpress/aztec/AztecText.kt
Original file line number Diff line number Diff line change
Expand Up @@ -1238,6 +1238,7 @@ open class AztecText : AppCompatEditText, TextWatcher, UnknownHtmlSpan.OnUnknown
}

if (length() != 0) {
// do not set selection when we try to select end of buffer marker in empty editor
if ((length() == 1 && text[0] == Constants.END_OF_BUFFER_MARKER)) {
return
}
Expand Down

0 comments on commit cae619e

Please sign in to comment.