File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
aztec/src/main/kotlin/org/wordpress/aztec/formatting Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -120,14 +120,14 @@ class LineBlockFormatter(editor: AztecText) : AztecFormatter(editor) {
120120 span.textView = editor
121121
122122 val spanBeforeMedia = editableText.getSpans(selectionStart, selectionEnd, AztecBlockSpan ::class .java)
123- .firstOrNull {
124- selectionStart == editableText.getSpanEnd(it)
125- }
123+ .firstOrNull {
124+ selectionStart == editableText.getSpanEnd(it)
125+ }
126126
127127 val spanAfterMedia = editableText.getSpans(selectionStart, selectionEnd, AztecBlockSpan ::class .java)
128- .firstOrNull {
129- selectionStart == editableText.getSpanStart(it)
130- }
128+ .firstOrNull {
129+ selectionStart == editableText.getSpanStart(it)
130+ }
131131
132132 val mediaStartIndex = selectionStart
133133 val mediaEndIndex = selectionStart + 1
You can’t perform that action at this time.
0 commit comments