Ghost/ghost/admin/lib/koenig-editor/addon/utils
Kevin Ansfield cc2e20a486 Koenig - Added reading time and word count display
refs https://github.com/TryGhost/Ghost/issues/9724
- add `registerComponent` hook to cards so that `{{koenig-editor}}` can fetch properties from card components directly
- add word count and reading time utilities
- add throttled word count update routine to `{{koenig-editor}}` that walks all sections and counts text words or fetches word/image counts from card components
- add `wordCountDidChange` hook to `{{koenig-editor}}` so that word count + reading time can be exposed
- modify editor controller to update it's own word count property when koenig triggers it's action
- modified the editor template to show reading time + word count next to the post status
2018-07-20 15:53:21 +01:00
..
count-words.js Koenig - Added reading time and word count display 2018-07-20 15:53:21 +01:00
create-component-card.js Koenig - Add card options for automatic edit/select after insert 2018-04-18 10:52:49 +01:00
markup-utils.js Koenig - Fixed error on Cmd+K with no selection 2018-05-22 14:01:03 +01:00
oembed.js Koenig - Embed card 2018-06-12 14:07:50 +01:00
reading-time.js Koenig - Added reading time and word count display 2018-07-20 15:53:21 +01:00