Skip to content
This repository has been archived by the owner on Apr 28, 2020. It is now read-only.

Commit

Permalink
Added 'styles' option
Browse files Browse the repository at this point in the history
  • Loading branch information
andreas committed Mar 28, 2016
1 parent f5bcc48 commit b0af6f6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/ng-quill.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,8 @@
'errorClass': '@?',
'ngModel': '=',
'callback': '&?',
'name': '@?'
'name': '@?',
'editorStyles': '=?'
},
require: 'ngModel',
restrict: 'E',
Expand All @@ -144,7 +145,8 @@
save: $scope.save || 'html',
readOnly: $scope.readOnly || false,
formats: $scope.toolbarEntries ? ngQuillService.validateFormats($scope.toolbarEntries.split(' ')) : ngQuillConfig.formats,
modules: {}
modules: {},
styles: $scope.editorStyles || false
},
changed = false,
editor,
Expand Down

0 comments on commit b0af6f6

Please sign in to comment.