4👍
✅
From this thread
static files go into static files directory. If you put plugin ins a ckeditor/ckeditor/plugins subfolder it will work. Collectstatic will merge all files and folders and you will get typical ckeditor setup
So, put the plugin code in the static
folder of your project, in static/ckeditor/ckeditor/plugins
and it should work.
👤doru
6👍
Thank for your question. I just add html5audio
plugin into djnago-ckeditor
. Full path is:
- Download plugin from the official repo.
- Unzip
html5audio
directory into/path/to/your/project/static/ckeditor/ckeditor/plugins/
or/python/libs/ckeditor/static/ckeditor/ckeditor/plugins/
with all it’s content. - Add
html5audio
plugin into yoursettings.py
near otherCKEDITOR
variables:
CKEDITOR_CONFIGS = {
'default': {
'toolbar': 'full',
'extraPlugins': ','.join(
[
'html5audio',
]
),
},
}
4. Reload page with ckeditor widget :).
- [Django]-Migrating from auth.User to custom user model. Groups and permissions are always empty
- [Django]-Please suggest some alternative to Drupal
- [Django]-Geodjango distance btw points in two models
- [Django]-Django-rest-swagger doesn't work when I want to use get_serializer_class() to return different fields for different user based on the url parameters
Source:stackexchange.com