     open func toggleBlockquote(range: NSRange) {        
         let newSelectedRange = storage.toggleBlockquote(range)
         selectedRange = newSelectedRange ?? selectedRange
-        typingAttributes = textStorage.attributes(at: selectedRange.location, effectiveRange: nil)
+        updateTypingAttributes()
         forceRedrawCursorAfterDelay()
     }
 

        let formatter = TextListFormatter(style: .unordered, placeholderAttributes: typingAttributes)
        let newSelectedRange = formatter.toggle(in: textStorage, at: range)
        selectedRange = newSelectedRange ?? selectedRange
        typingAttributes = textStorage.attributes(at: selectedRange.location, effectiveRange: nil)
    }



        let formatter = TextListFormatter(style: .ordered, placeholderAttributes: typingAttributes)
        let newSelectedRange = formatter.toggle(in: textStorage, at: range)
        selectedRange = newSelectedRange ?? selectedRange
        updateTypingAttributes()
    }


