This is a fork from https://github.com/espenak/django_ckeditorfiles which has a few changes:
* Change to the default ckeditor image plugin to add figure and figcaption support
* Fix to using CKEditro in inlines
Install
=======
```
$ pip install django_ckeditor_improved
```
Screenshots
-------
Figure with Figcaption Dialog:



CKEditors Inline

Set Up
-------
#settings.py
1. Image picker set up at /admin/media/imagepicker/
2. Custom ckeditor css file loaded from /static/admin/ckeditor.css
```python
CKEDITOR_BASIC = {
'skin': 'moono',
'toolbar_Basic': [
['Source', '-', 'Bold', 'Italic']
],
'toolbar_Full': [
['Format', 'Bold', 'Italic', 'Underline', 'Strike', 'Subscript','Superscript','SpellChecker', 'SpecialChar', 'Undo', 'Redo'],
['NumberedList', 'BulletedList', 'Blockquote'],
['Link', 'Unlink', 'Anchor'],
['Image', 'Iframe','Flash', 'Table', 'HorizontalRule', 'PageBreak'],
['PasteText', 'PasteFromWord', 'RemoveFormat'],
['showblocks', 'Source', 'Maximize'],
],
'extraPlugins': 'magicline',
'magicline_everywhere': 'true',
'magicline_color': '#4fb2d3',
'toolbar': 'Full',
'height': 600,
'width': 1000,
'filebrowserWindowWidth': 940,
'filebrowserWindowHeight': 725,
'filebrowserImageBrowseUrl': '/admin/media/imagepicker/',
'forcePasteAsPlainText' : 'true',
}
```
#admin.py
```python
class PageAdmin(admin.ModelAdmin):
form = PageForm
```
#forms.py
```python
from django.conf import settings
from ckeditorfiles.widgets import CKEditorWidget
class PageForm(forms.ModelForm):
class Meta:
model = Page
widgets = {
'content': CKEditorWidget(config=settings.CKEDITOR_BASIC)
}
```
See https://github.com/espenak/django_ckeditorfiles for further setup and configuration instructions
Metadata
Release files for django_ckeditor_improved 1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django_ckeditor_improved-1.8.tar.gz | 714.5 kB | Without provenance | Details for django_ckeditor_improved-1.8.tar.gz |
Release files / django_ckeditor_improved-1.8.tar.gz
| Download URL | django_ckeditor_improved-1.8.tar.gz |
|---|---|
| Size | 714.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
47df4b1b72cf2ec8fe98b4ff577b3d5f59b20012db27723defb061a909d9f9ef
|
|
BLAKE2b-256 checksum How to use checksums |
41c35a19e781a9273ab35794ea09a6c20dc32095c6ad7d02a5b315d6fea0a36a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django_ckeditor_improved 1.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.