misc: use a custom ckeditor toolbar
This commit is contained in:
parent
449a4cc10c
commit
e1d9e084d1
|
@ -113,6 +113,18 @@ STATIC_URL = '/static/'
|
|||
|
||||
CKEDITOR_UPLOAD_PATH = os.path.join(BASE_DIR, 'uploads/ckeditor')
|
||||
|
||||
CKEDITOR_CONFIGS = {
|
||||
'default': {
|
||||
'toolbar_Own': [['Source', 'Format', '-', 'Bold', 'Italic'],
|
||||
['NumberedList','BulletedList'],
|
||||
['JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock'],
|
||||
['Link', 'Unlink'],
|
||||
['Image',],
|
||||
['RemoveFormat',]],
|
||||
'toolbar': 'Own',
|
||||
},
|
||||
}
|
||||
|
||||
COMBO_PUBLIC_TEMPLATES = {
|
||||
'standard': {
|
||||
'name': 'Standard',
|
||||
|
|
Loading…
Reference in New Issue