isRichText
A Boolean value that controls whether the text views sharing the receiver’s layout manager allow the user to apply attributes to specific ranges of text.
Declaration
var isRichText: Bool { get set }Discussion
Text fields that don’t allow rich text also don’t accept dragged files. By default, text views let the user apply multiple attributes to text, but don’t accept dragged files.
See Also
Related Documentation
Setting behavioral attributes
allowsUndoisEditableisSelectableisFieldEditorimportsGraphicssetBaseWritingDirection(_:range:)defaultParagraphStyleoutline(_:)allowsImageEditingisAutomaticQuoteSubstitutionEnabledtoggleAutomaticQuoteSubstitution(_:)isAutomaticLinkDetectionEnabledtoggleAutomaticLinkDetection(_:)displaysLinkToolTipsisAutomaticTextCompletionEnabled