We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d86aa4 commit 655a87dCopy full SHA for 655a87d
aztec/src/main/kotlin/org/wordpress/aztec/formatting/LineBlockFormatter.kt
@@ -168,7 +168,7 @@ class LineBlockFormatter(editor: AztecText) : AztecFormatter(editor) {
168
}
169
170
private fun insertSpanAfterBlock(ssb: SpannableStringBuilder) {
171
- var position = getEndOfBlock()
+ val position = getEndOfBlock()
172
// We need to be sure the cursor is placed correctly after media insertion
173
// Note that media has '\n' around them when needed
174
val isLastItem = position == EndOfBufferMarkerAdder.safeLength(editor)
0 commit comments