Hello. Installed ckeditor 5.0.3. When I upload a file in the editor, it appears in the media / upload folder, but is not displayed in the editor. Just a broken image, and the path in the code is correct. I tried to put the file browser, registered in the ckeditor config:
config.extraPlugins = 'filebrowser'; config.extraPlugins = 'popup';
But I don’t understand whether this plugin is using the editor or not, since there are no changes before installing the plugin. In the browser console, I see the message: The article with the primary key u'add / media / upload / 2016/07/10 / qtacdg.docx 'does not exist. But along this path there is a file. setting.py:
INSTALLED_APPS = [ ... 'ckeditor', 'ckeditor_uploader', ] STATICFILES_DIRS = ( ('static', '/root/djangoenv/bin/blago/blago/static',) ) MEDIA_ROOT = os.path.join(BASE_DIR, 'media') MEDIA_URL = 'media/' CKEDITOR_UPLOAD_PATH = 'upload/' CKEDITOR_JQUERY_URL = '//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js' CKEDITOR_CONFIGS = { 'default': { 'toolbar': 'None', }, }
Can you help? Thank!