Skip to content

vixdigital/wagtail-reading-time

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Wagtail Draftjs Reading Time

An example implementation of the draftail reading time component using draftail's registerControl function.

!! This is an experimental build meant to test yet unreleased api features in Wagtail. It uses a monkeypatch to work specifically with Wagtail 2.0 and will likely break in a future release of Wagtail. !!

Screenshot

Installation

  • pip install wagtail-readingtime
  • Add 'readingtime' to your list of installed apps AFTER all wagtail app includes (e.g. wagtail.admin, wagtail.core etc).

Usage

Once installed You will see the reading time calculation displayed in the toolbar of all rich text fields in your Wagtail admin area.