Skip to main content

leonardo-module-redactor is a lightweight responsive wysiwyg editor for Leonardo

Project description

A lightweight wysiwyg editor for Leonardo

Installation

pip install leonardo-module-redactor

or as leonardo bundle

pip install django-leonardo["redactor"]

Add leonardo_module_sentry to APPS list, in the local_settings.py:

APPS = [
    ...
    'leonardo_module_redactor'
    ...
]

REDACTOR_OPTIONS = {
    'lang': 'en',
    'plugins': ['table', 'video', 'fullscreen', 'fontcolor', 'textdirection']}

REDACTOR_UPLOAD = 'uploads/'

Sync static

python manage.py sync_all

# or

python manage.py collectstatic --noinput

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

leonardo-module-redactor-2015.0.4.tar.gz (53.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page