You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: aztec/src/main/kotlin/org/wordpress/aztec/watchers/event/sequence/known/space/API26PrependNewLineOnStyledSpecialTextEvent.kt
+1-8Lines changed: 1 addition & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -64,14 +64,7 @@ class API26PrependNewLineOnStyledSpecialTextEvent : UserOperationEvent() {
64
64
if (firstEvent.beforeEventData.textBefore?.length == lastEvent.afterEventData.textAfter!!.length) {
65
65
//but, middle event has a new line at the start index of change
66
66
if (midEvent.onEventData.textOn!![midEvent.onEventData.start] ==Constants.NEWLINE) {
67
-
// okay sequence has been observed completely, let's make sure we are not within a Block
68
-
if (!isEventFoundWithinABlock(firstEvent.beforeEventData)) {
69
-
returnObservedOperationResultType.SEQUENCE_FOUND
70
-
} else {
71
-
// we're within a Block, things are going to be handled by the BlockHandler so let's just request
0 commit comments