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 1523075 commit d44884cCopy full SHA for d44884c
1 file changed
Aztec/Classes/TextKit/TextView.swift
@@ -647,7 +647,7 @@ open class TextView: UITextView {
647
evaluateRemovalOfSingleLineParagraphAttributesAfterSelectionChange()
648
ensureRemovalOfParagraphAttributesWhenPressingBackspaceAndEmptyingTheDocument()
649
ensureCursorRedraw(afterEditing: deletedString.string)
650
-
+ recalculateTypingAttributes()
651
notifyTextViewDidChange()
652
}
653
@@ -1247,6 +1247,7 @@ open class TextView: UITextView {
1247
private func recalculateTypingAttributes(at location: Int) {
1248
1249
guard storage.length > 0 else {
1250
+ typingAttributes = defaultAttributes
1251
return
1252
1253
0 commit comments