reagowanie na django ckeditor Django
CKEDITOR_CONFIGS = {
'default': {
'width': '100%'
},
}
Embarrassed Eland
CKEDITOR_CONFIGS = {
'default': {
'width': '100%'
},
}
# your_app/settings.py
CKEDITOR_CONFIGS = {
'default': {
'toolbar': 'Custom',
'toolbar_Custom': [
['Bold', 'Italic', 'Underline'],
['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock'],
['Link', 'Unlink'],
['RemoveFormat', 'Source']
],
'width': '100%'
},
}
/* main.css */
.django-ckeditor-widget {
width: 100%;
}