CKEditor for editing entries in django-blog-zinnia
Project description
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.
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', }, }
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
Built Distribution
File details
Details for the file zinnia-wysiwyg-ckeditor-1.1.tar.gz
.
File metadata
- Download URL: zinnia-wysiwyg-ckeditor-1.1.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6bd70c77c7c3a0c3b9e3a3dc5d8ea5699d7a550d38ab664cd49ff630c690ce9e |
|
MD5 | 9a3e7a1a3a6830cacf816a5fde46de8d |
|
BLAKE2b-256 | 3875ab34c7c46dd64032bfc157cc7cad57b34b418c224870ead9729311bf15d5 |
File details
Details for the file zinnia_wysiwyg_ckeditor-1.1-py2.py3-none-any.whl
.
File metadata
- Download URL: zinnia_wysiwyg_ckeditor-1.1-py2.py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7160761c051f3f439343cda704aa78cea350aaa45df1fdf929efd1c4e81974f5 |
|
MD5 | 220d1a29e28f54ee64d8d09e7375b64e |
|
BLAKE2b-256 | 868dfb46c23ef4b24de6a3a2681abbf18e8213b488d1ad75578b29fe3c6b842e |