misc: use a custom ckeditor toolbar

This commit is contained in:
Frédéric Péters 2015-01-03 15:41:36 +01:00
parent 449a4cc10c
commit e1d9e084d1
1 changed files with 12 additions and 0 deletions

View File

@ -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',