Rich-text editor for Django Wagtail CMS
Project description
Wagtail CKEditor plugin
This is a Wagtail plugin, which allows CKEditor to be used as an internal editor instead of hallo.js or draftail.
Requirments
Wagtail 2+ Django 3+
How to install
Include wagtail_ckeditor
in your INSTALLED_APPS
.
Ensure that you have this entry in your settings.py
file.
WAGTAILADMIN_RICH_TEXT_EDITORS = {
'default': {
'WIDGET': 'wagtail_ckeditor.widgets.CKEditor'
}
}
There are several options you can add to your settings.py
file.
To add new fonts and font-weight, font-size, line-height values use settings file. Example
WAGTAIL_CKEDITOR_FONTS = "Inter;Golos;"
WAGTAIL_CKEDITOR_FONT_SIZES = "96/96px; 128/128px;"
WAGTAIL_CKEDITOR_LINE_HEIGHT = "32px;36px;"
WAGTAIL_CKEDITOR_SKIN = "moono-lisa"
WAGTAIL_CKEDITOR_FONT_WEIGHT = "965;970;"
Inspired by:
Richard Mitchell (https://github.com/isotoma/wagtailtinymce.git) mastnym (https://github.com/mastnym/wagtail-ckeditor)
Project details
Release history Release notifications | RSS feed
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 wagtail-ckeditor-1.0.0.tar.gz
.
File metadata
- Download URL: wagtail-ckeditor-1.0.0.tar.gz
- Upload date:
- Size: 246.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.7.9 Linux/5.17.4-arch1-1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f51298accbe2dec0d23949667b1f25d63242af0a8ca31d362c4ddde22cbb643d |
|
MD5 | 08568284ca20ba327cbf5cf9a3b28502 |
|
BLAKE2b-256 | e63207c4ac8fd0031235e50ee0a4205f9a43dbb71982b197616d1c059fed5553 |
File details
Details for the file wagtail_ckeditor-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: wagtail_ckeditor-1.0.0-py3-none-any.whl
- Upload date:
- Size: 248.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.7.9 Linux/5.17.4-arch1-1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 311dc2b4a99a29608d853a060213c98b4ad808770f2b872a6ab44fc9eb79db4c |
|
MD5 | 4a72d8622d0d531676a0c80fb3f8e87d |
|
BLAKE2b-256 | 1f3cb83096b976c29ada4c710ad6241d5435ef246de23c85a1f86cd96d9b3afb |