Metadata-Version: 2.1
Name: wagtail-ckeditor
Version: 1.0.0
Summary: Rich-text editor for Django Wagtail CMS
Home-page: https://github.com/ghettoDdOS/pve-utils
License: MIT
Keywords: wagtail,django,ckeditor
Author: penkhasoveg
Author-email: pen.egor2002@gmail.com
Requires-Python: >=3.7,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: Django (>=3.1.5,<4.0.0)
Requires-Dist: wagtail (>=2.11.2,<3.0.0)
Project-URL: Repository, https://github.com/ghettoDdOS/pve-utils
Description-Content-Type: text/markdown

# Wagtail CKEditor plugin

This is a [Wagtail](https://wagtail.io/) plugin, which allows [CKEditor](http://ckeditor.com/) 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)

