angular-ui / ui-ace

This directive allows you to add ACE editor elements.
http://angular-ui.github.io/ui-ace
MIT License
578 stars 172 forks source link

Support fontSize #33

Closed cmoulliard closed 9 years ago

cmoulliard commented 10 years ago

I propose to support also this option

    if (angular.isDefined(opts.fontsize)) {
      acee.setFontSize(opts.fontsize);
    }

That we could use as aceOption :

$scope.aceOption = { mode: 'xml', theme: $scope.theme.toLowerCase(), fontsize: '18px',

andrewboni commented 9 years ago

+1

douglasduteil commented 9 years ago

The new rendererOptions will do

Demo : http://plnkr.co/edit/TR9bRFDhYC8GH3hx068n