We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf7d6e2 commit 8bd5798Copy full SHA for 8bd5798
aztec/src/main/kotlin/org/wordpress/aztec/watchers/EndOfBufferMarkerAdder.kt
@@ -44,10 +44,10 @@ class EndOfBufferMarkerAdder(text: Editable) : TextWatcher {
44
45
if (text.isEmpty()) {
46
if (text.getSpans(0, 0, IAztecBlockSpan::class.java).isNotEmpty()) {
47
- // need to add a end-of-text marker so a block element can render in the empty text.
48
- if (!deletedText) {
49
- text.append(Constants.END_OF_BUFFER_MARKER)
50
- }
+ // need to add a end-of-text marker so a block element can render in the empty text.
+ if (!deletedText) {
+ text.append(Constants.END_OF_BUFFER_MARKER)
+ }
51
}
52
return text
53
} else if (text.length == 1 && text[0] == Constants.END_OF_BUFFER_MARKER && deletedText) {
0 commit comments