Skip to main content

Zinnia-wysiwyg-ckeditor is a package allowing you to edit your entries with CKEditor.

Installation

  • Install the package on your system:

    $ pip install zinnia-wysiwyg-ckeditor

    django-ckeditor will also be installed as a dependency.

  • Install and configure django-ckeditor if not already done.

  • Register the 'zinnia_ckeditor' in your INSTALLED_APPS after the 'zinnia' application.

You are done !

Configuration

You can customize the CKEditor instance by defining a zinnia-content configuration into the CKEDITOR_CONFIGS setting.

If the zinnia-content configuration is not found, the default configuration will be used.

Example of configuration:

CKEDITOR_CONFIGS = {
    'default': {
        'toolbar': 'Full',
    },
    'zinnia-content': {
        'toolbar_Zinnia': [
            ['Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord'],
            ['Undo', 'Redo'],
            ['Scayt'],
            ['Link', 'Unlink', 'Anchor'],
            ['Image', 'Table', 'HorizontalRule', 'SpecialChar'],
            ['Source'],
            ['Maximize'],
            '/',
            ['Bold', 'Italic', 'Underline', 'Strike',
             'Subscript', 'Superscript', '-', 'RemoveFormat'],
            ['NumberedList', 'BulletedList', '-',
             'Outdent', 'Indent', '-', 'Blockquote'],
            ['Styles', 'Format'],
        ],
        'toolbar': 'Zinnia',
    },
}

Download files

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

Source Distribution

zinnia-wysiwyg-ckeditor-1.3.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zinnia_wysiwyg_ckeditor-1.3-py2.py3-none-any.whl (4.8 kB view details)

Uploaded Python 2Python 3

File details

Details for the file zinnia-wysiwyg-ckeditor-1.3.tar.gz.

File metadata

File hashes

Hashes for zinnia-wysiwyg-ckeditor-1.3.tar.gz
Algorithm Hash digest
SHA256 748a52f8213a917bcd2c52eb71d3caaab8c862956553beae8c034cabb889a2a3
MD5 5a4c1cf86905455583a7351336b30741
BLAKE2b-256 edfa5ad8a359eae671a6576b0e776a624b28a4ef3266bd9b0b02983b7c633261

See more details on using hashes here.

File details

Details for the file zinnia_wysiwyg_ckeditor-1.3-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for zinnia_wysiwyg_ckeditor-1.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c6baf4a107c28676ebcd2a6047a771bdd390941165b317accdbcb988b0357cef
MD5 d989177cf4e456fb2745ea3c8523f1a8
BLAKE2b-256 76f598814e9c41043918a3484f0f3a0796741828a6167aec03012ef3627c6110

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.3 This release

2 files

1.2

2 files

1.1

2 files

1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page