diff --git a/ios/EnrichedTextInputView.mm b/ios/EnrichedTextInputView.mm index f4926ae85..23178d5ef 100644 --- a/ios/EnrichedTextInputView.mm +++ b/ios/EnrichedTextInputView.mm @@ -565,7 +565,7 @@ - (CGSize)measureSize:(CGFloat)maxWidth { unichar lastChar = [currentStr.string characterAtIndex:currentStr.length-1]; if([[NSCharacterSet newlineCharacterSet] characterIsMember:lastChar]) { [currentStr appendAttributedString: - [[NSAttributedString alloc] initWithString:@"I" attributes:textView.typingAttributes] + [[NSAttributedString alloc] initWithString:@"I" attributes:defaultTypingAttributes] ]; } }