diff --git a/aztec/src/main/kotlin/org/wordpress/aztec/AztecExceptionHandler.kt b/aztec/src/main/kotlin/org/wordpress/aztec/AztecExceptionHandler.kt index bbf1fb645..5d50737f9 100644 --- a/aztec/src/main/kotlin/org/wordpress/aztec/AztecExceptionHandler.kt +++ b/aztec/src/main/kotlin/org/wordpress/aztec/AztecExceptionHandler.kt @@ -65,7 +65,6 @@ class AztecExceptionHandler(private var logHelper: WeakReference { + return if (text.toString() == Constants.END_OF_BUFFER_MARKER.toString()) { + deleteInlineStyleFromTheBeginning() + return true + } else { + super.onTextContextMenuItem(id) + } + } else -> return super.onTextContextMenuItem(id) }