D
D
Dmitry Lyapun2015-04-28 17:23:30
Django
Dmitry Lyapun, 2015-04-28 17:23:30

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/',
}

FileBrowser & TinyMCE - Connected, but tiny didn't want to be displayed outside the admin panel, and you can't set up another theme normally in the admin panel itself.
The question is, is there a comprehensive solution to the problem, without crutches, or has no one come up with anything yet and it is necessary to make crutches on crutches? If not, where can I find information on how to properly install the FileBrowser & TinyMCE bundle?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sim3x, 2015-04-28
@dlyapun

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 question

Ask a Question

731 491 924 answers to any question