Sha256: 91bb9c9c4597c57cc5829421f0299b975789687d2be221c8d131119314f47697

Contents?: true

Size: 604 Bytes

Versions: 4

Compression:

Stored size: 604 Bytes

Contents

<script type="text/ng-template" id="promethee/components/text/edit/inspect">
  <div class="form-group">
    <summernote config="{
      toolbar: [
        ['headline', ['style']],
        ['style', ['bold', 'italic']],
        ['alignment', ['ul', 'ol', 'paragraph']],
        ['code', ['codeview']]
      ]
    }" ng-model="promethee.inspected.attributes.body"></summernote>
  </div>

  {{promethee.inspected.attributes.body | textContentFromHTML: 'distinctParagraphs' | numberOfWords}} words<br>
  {{promethee.inspected.attributes.body | textContentFromHTML | numberOfCharacters}} characters
</script>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
promethee-1.2.15 app/views/promethee/components/text/_edit.inspect.html.erb
promethee-1.2.14 app/views/promethee/components/text/_edit.inspect.html.erb
promethee-1.2.13 app/views/promethee/components/text/_edit.inspect.html.erb
promethee-1.2.12 app/views/promethee/components/text/_edit.inspect.html.erb