Answer the question
In order to leave comments, you need to log in
Working wysiwyg editors and file manager for django?
The essence of the problem. Task - the user can work with articles through wysiwyg without the admin panel (place img and edit them).
I googled, there are two normal solutions:
elFinder & CKEditor - no matter how I change the settings, an error always pops up when I click on the "Add from server" button - it's impossible to load pictures.
ELFINDER_OPTIONS = {
'root': os.path.join(os.getcwd(), 'media', 'uploads'),
'URL': '/media/uploads/',
}
Answer the question
In order to leave comments, you need to log in
Here is a kind of lively project for the admin panel
https://github.com/summernote/django-summernote
For the front, it's better to deal with something simpler - user input needs to be sanitized well!
I would advise you to make Markdown-Restructured markup using images from imgur/habrastorage.org/...
PS
the error is hereos.path.join(os.getcwd()
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question