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

Text alignment? #46

Closed
TheWizz opened this issue Dec 9, 2013 · 2 comments
Closed

Text alignment? #46

TheWizz opened this issue Dec 9, 2013 · 2 comments

Comments

@TheWizz
Copy link

TheWizz commented Dec 9, 2013

What would be the best way to add text alignment (left, right, centered) to textAngular? As far as I can tell, it doesn't support thes options "out of the box".

@SimeonC
Copy link
Collaborator

SimeonC commented Dec 9, 2013

Change the toolbar, either the default or using the ta-toolbar html attribute to include 'justifyLeft', 'justifyRight' and 'justifyCenter' - case-sensitive. (If you need more info on this see the Wiki on customising the toolbar).

I must have missed them out of the defaults - I'll add all the available 'vanilla' plugins into the defaults from here on in.

@SimeonC SimeonC closed this as completed Dec 9, 2013
@TheWizz
Copy link
Author

TheWizz commented Dec 9, 2013

Yes, I actually saw them in the source code later today, and figured it was just a doc overlook. It seems fairly easy to add your own editing controls, just following the same pattern (as long as the browser supports it natively). Great. Thanks for taking the time to respond.

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

2 participants