Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Django-CKEditor Image Upload

I've currently installed Django-CKEditor and have my own custom toolbar.

I'm struggling to find how to enable image uploading. When clicking the Image button, I can only upload via URL. I know that, in the plugin, there are views to handle file browsing and uploading but I'm not sure how to activate or use these.

There is sparse documentation on the plugin so I am reaching out for your help!

https://github.com/shaunsephton/django-ckeditor

like image 272
tsurantino Avatar asked Feb 17 '23 07:02

tsurantino


1 Answers

In the current version (5) you can use RichTextUploadingField instead of RichTextField, which enables uploading and browse files button.

Previously you have to install django-uploader package.

like image 131
Enric Mieza Avatar answered Feb 28 '23 06:02

Enric Mieza