Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Paragraph Style attributes are not overridable on a per attribute basis #2

Open
Tylerc230 opened this issue Jul 22, 2014 · 0 comments

Comments

@Tylerc230
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant