Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/notes.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHendrik Leppelsack <hendrik@leppelsack.de>2015-07-10 13:57:44 +0300
committerHendrik Leppelsack <hendrik@leppelsack.de>2015-08-14 01:10:03 +0300
commit6b7d1b2cb1248a6f7ca13bb3e824e98167aec36f (patch)
tree1ab37c7bf541cc3f5c90b1c8f14509ae3baaf55b /templates
parentf8956ff95210ec5985198264f8590768039a1223 (diff)
add word counter
Diffstat (limited to 'templates')
-rw-r--r--templates/note.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/note.php b/templates/note.php
index 0f3f8020..3117ff63 100644
--- a/templates/note.php
+++ b/templates/note.php
@@ -1,3 +1,4 @@
<div id="app-navigation-toggle" class="icon-menu" style="display:none;"></div>
<pre editor notes-timeout-change="save()" notes-autofocus ng-class="{saving: isSaving()}">{{note.content}}</pre>
+ <div class="note-meta">{{note.content | wordCount}}</div>
</div>