         set {
             super.typingAttributes = newValue
         }
+    }
+    
+    @objc func setTypingAttributes(_ attributes: [String: Any]) {
+        self.typingAttributes = attributes
     }
 
     /// Returns the collection of Typing Attributes, with all of the available 'String' keys properly converted into

            super.insertText(text)
        }

        //evaluateRemovalOfSingleLineParagraphAttributes(forInput: text)
        evaluateRemovalOfSingleLineParagraphAttributesAfterSelectionChange()

        restoreDefaultFontIfNeeded()

    ///
    private func removeSingleLineParagraphAttributes() {
        for formatter in type(of: self).singleLineParagraphFormatters {
            let range = formatter.applicationRange(for: selectedRange, in: textStorage)
            
            removeAttributes(managedBy: formatter, from: range)
            removeTypingAttributes(managedBy: formatter)
        }
    }
