esvit / ng-ckeditor

BSD 3-Clause "New" or "Revised" License
265 stars 137 forks source link

Should be able to override default config options #81

Open MiguelMike opened 8 years ago

MiguelMike commented 8 years ago

The only way to hide some buttons is to list them in remove-buttons attribute. This is very annoying and not user-friendly. It should be possible to pass all the CKEditor config through the ckeditor attribute.

Replacing the angular.extend with angular.merge should solve this issue:

options = angular.extend(options, scope[attrs.ckeditor]);