Skip to main content

A plugin to add typus functionality to wagtail rich text editor (draftail).

Demo

Demo

Installation

Install with pip

pip install wagtail-typograf

Add app name to your list of installed apps

INSTALLED_APPS = [
    ...
    "wagtail_typograf",
]

Add typograf url to your urlpatterns (for now “/api/typograf/” is strongly hardcoded in js)

urlpatterns = [
  ...
  path('api/', include('wagtail_typograf.urls')),
  ...
]

If you use limit number of features in RichTextBlock, don’t forget to add typograf to its list

text_block = RichTextBlock(
    features=[
        "bold", "italic", "ol", "ul", "hr",
        "link", "document-link", "typograf",
    ],
    ...
)

Usage

Write or paste text content, push the ¶-button.

Metadata

Release files for wagtail-typograf 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wagtail-typograf 0.1.3
File Size Uploaded
wagtail-typograf-0.1.3.tar.gz 4.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for wagtail-typograf 0.1.3
File Interpreter ABI Platform
wagtail_typograf-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 10.6 kB

Release files / wagtail-typograf-0.1.3.tar.gz

Download URL wagtail-typograf-0.1.3.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
f7a6bf0c9faca804d700db1b4811d6092baa2e8dbe7e715c6757d5e3d302cd22
BLAKE2b-256 checksum
How to use checksums
24f8335f695b2d035f961e1da618356e15d7ac1cd79c42a1b9bc4c81c97afc70
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.11 CPython/3.8.12 Darwin/21.1.0

Release files / wagtail_typograf-0.1.3-py3-none-any.whl

Download URL wagtail_typograf-0.1.3-py3-none-any.whl
Size 6.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d4ffd2263d68ca3ae8b5873c2501466f903ed4f115320f8f3098a40d56c0f516
BLAKE2b-256 checksum
How to use checksums
fd06e446c4ac7f55cec77292da6bc97fdc69fc2feca77368cb687856b1ced33f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.11 CPython/3.8.12 Darwin/21.1.0

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page