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.5.0.tar.gz (54.3 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page