You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

wagtail-typograf

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wagtail-typograf

Brings russian typography to Wagtail rich text editor based on draftail


Maintainers
1

Readme

wagtail-typograf

A plugin to add typus <https://github.com/byashimov/typus>_ functionality to wagtail rich text editor (draftail).

Demo

.. image:: https://raw.githubusercontent.com/truetug/wagtail-typograf/master/demo.gif :width: 400 :alt: 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.

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc