You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've noticed that when I set a paragraph style attribute (such as text alignment) in the $default MTStringAttribute and then try to set a different one in one of my custom tags (like lineHeightMultiple) any text within that custom tag will not have the proper text alignment. This is because the default NSMutableParagraphStyle object is overridden if any of the attributes are modified in my custom tag's NSMutableParagraphStyle object. It would be nice to be able to override the default paragraph style attributes on an attribute by attribute basis. I'm not sure how that would be achieved though.
The text was updated successfully, but these errors were encountered:
I've noticed that when I set a paragraph style attribute (such as text alignment) in the $default MTStringAttribute and then try to set a different one in one of my custom tags (like lineHeightMultiple) any text within that custom tag will not have the proper text alignment. This is because the default NSMutableParagraphStyle object is overridden if any of the attributes are modified in my custom tag's NSMutableParagraphStyle object. It would be nice to be able to override the default paragraph style attributes on an attribute by attribute basis. I'm not sure how that would be achieved though.
The text was updated successfully, but these errors were encountered: