Skip to content

Commit

Permalink
Merge pull request #104 from Ventajou/min_max_height
Browse files Browse the repository at this point in the history
Added min and max height
  • Loading branch information
outsideris committed Jan 15, 2016
2 parents ae2ddb4 + 2fb5bc1 commit 655a26f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/angular-summernote.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ angular.module('summernote', [])
summernoteConfig = $scope.summernoteConfig || {};

if (angular.isDefined($attrs.height)) { summernoteConfig.height = $attrs.height; }
if (angular.isDefined($attrs.minHeight)) { summernoteConfig.minHeight = $attrs.minHeight; }
if (angular.isDefined($attrs.maxHeight)) { summernoteConfig.maxHeight = $attrs.maxHeight; }
if (angular.isDefined($attrs.placeholder)) { summernoteConfig.placeholder = $attrs.placeholder; }
if (angular.isDefined($attrs.focus)) { summernoteConfig.focus = true; }
if (angular.isDefined($attrs.airmode)) { summernoteConfig.airMode = true; }
Expand Down

0 comments on commit 655a26f

Please sign in to comment.