1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-16 03:06:27 +00:00

Add wordcount and lettercount to InfoPanel

This commit is contained in:
asmsuechan
2017-08-19 08:09:39 +09:00
parent 7f08428fe2
commit 9ea9d30947
3 changed files with 30 additions and 2 deletions

View File

@@ -353,6 +353,9 @@ class MarkdownNoteDetail extends React.Component {
createdAt={formatDate(note.createdAt)}
exportAsMd={this.exportAsMd}
exportAsTxt={this.exportAsTxt}
wordCount={note.content.split(' ').length}
letterCount={note.content.length}
type={note.type}
/>
</div>
</div>