Sha256: 6ecee5301e19438f7e126d3a62d93f8574439491c2912222e0c62615c466a69e
Contents?: true
Size: 1.17 KB
Versions: 12
Compression:
Stored size: 1.17 KB
Contents
<script type="text/ng-template" id="promethee/components/text/edit/write"> <div ng-controller="TextController" ng-click="inspect(component, $event)" class=" promethee-edit__component promethee-edit__component--text"> <div class="promethee-edit__component-selected" ng-class="{'promethee-edit__component-selected--visible': promethee.inspected === component}"> <div class="promethee-edit__toolbar"> Text <ng-include src="'promethee/write/toolbar'"></ng-include> </div> <div ng-show="promethee.inspected === component"> <summernote config="options" ng-model="component.attributes.body"></summernote> </div> <div ng-hide="promethee.inspected === component"> <div class="promethee-edit__wrapper" ng-bind-html="component.attributes.body | htmlSafe"></div> </div> </div> </div> </script> <script> promethee.controller('TextController', ['$scope', function($scope) { $scope.options = { toolbar: [ ['headline', ['style']], ['style', ['bold', 'italic']], ['alignment', ['ul', 'ol', 'paragraph']], ['code', ['codeview']] ] }; }]); </script>
Version data entries
12 entries across 12 versions & 1 rubygems