Skip to content

Latest commit

 

History

History
76 lines (49 loc) · 1.85 KB

README.rst

File metadata and controls

76 lines (49 loc) · 1.85 KB

extension-text-ckeditor5

pypi djangocms djangocms4

djangocms-text-ckeditor5 is an extension to djangocms-text offering CKEditor5 as a rich text editor to djangocms-text.

Features

  • CKEditor5: Look and feel of CKEditor5.
  • Inline exiting: CKEditor5 supports inline editing.
  • Dynamic HTML attributes: Supported for the Link plugin
  • Text-enabled plugins: (not yet supported - help needed)

Installation

Install djangocms-text-ckeditor5 using pip:

pip install djangocms-text-ckeditor5

Build latest development branch using git:

git clone [email protected]:django-cms/djangocms-text-ckeditor5.git
cd djangocms-text-ckeditor5
nvm use
npm install
npx webpack --mode development

You then can install the cloned repo using pip install -e /path/to/the/repo/djangocms-text-ckeditor5.

Finally, add djangocms_text_ckeditor5 in addition to djangocms_text to your INSTALLED_APPS in your Django project settings:

INSTALLED_APPS = [
    ...,
    "djangocms_text",
    "djangocms_text_ckeditor5",
    ...
]

and set the editor you want to use:

TEXT_EDITOR = "djangocms_text_ckeditor5.ckeditor5"

Contributing

Contributions to djangocms-text-ckeditor5 are welcome! Please read our contributing guidelines to get started.

License

The CKEditor 5 and this package are licensed under the GPL-2.0 License.