djangocms-text-ckeditor5 is an extension to djangocms-text offering CKEditor5 as
a rich text editor to djangocms-text.
- CKEditor 5: Look and feel of CKEditor 5.
- Inline editing: CKEditor 5 supports inline editing.
- Dynamic HTML attributes: Supported for the Link plugin.
- CMS plugin embedding: Add CMS plugins from the editor toolbar ("CMS Plugins" dropdown, plus optional dedicated buttons for plugins with their own icon) and double-click an embedded plugin to edit it in place.
Install djangocms-text-ckeditor5 using pip:
pip install djangocms-text-ckeditor5Build latest development branch using git:
git clone git@github.com:django-cms/djangocms-text-ckeditor5.git
cd djangocms-text-ckeditor5
nvm use
npm install
npm run build:dev # or `npm run build` for a production bundle
npm test # Node's built-in test runnerYou 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"Contributions to djangocms-text-ckeditor5 are welcome! Please read our contributing guidelines to get started.
The CKEditor 5 and this package are licensed under the GPL-2.0 License.