froala / angular-froala

Angular.js bindings for Froala WYSIWYG HTML Rich Text Editor.
https://froala.com/wysiwyg-editor
MIT License
306 stars 123 forks source link

Align option not working #131

Closed nick-berry closed 7 years ago

nick-berry commented 7 years ago

Having some trouble with the align configuration option.

Controller: var froalaOpts = ['align']; $scope.froalaOptions = { toolbarButtons: froalaOpts, toolbarButtonsMD: froalaOpts, toolbarButtonsSM: froalaOpts, toolbarButtonsXS: froalaOpts, pluginsEnabled: ['align'], placeholderText: 'Enter a note here' };

Template: <textarea froala="froalaOptions" ng-model="vm.note"></textarea>

Given the above configuration, the align option in the WYSIWYG will still not show up. The align plugin is definitely included and I can see it loading on the page from my dev tools. I can add or remove other plugins (such as insertVideo) with no trouble. Is anyone else encountering this issue? Or am I missing something big?

nick-berry commented 7 years ago

I was able to solve this one on my own. There was a typo in our codebase but this is all set.