Projet

Général

Profil

0001-misc-sync-ckeditor-settings-with-combo-12653.patch

Frédéric Péters, 18 août 2016 15:36

Télécharger (1,24 ko)

Voir les différences:

Subject: [PATCH] misc: sync ckeditor settings with combo (#12653)

 corbo/settings.py | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
corbo/settings.py
93 93
STATIC_ROOT = 'static'
94 94

  
95 95
CKEDITOR_UPLOAD_PATH = 'ckeditor/uploads'
96
CKEDITOR_IMAGE_BACKEND = 'pillow'
97
CKEDITOR_CONFIGS = {
98
    'default': {
99
        'allowedContent': True,
100
        'removePlugins': 'stylesheetparser',
101
        'toolbar_Own': [['Source', 'Format', '-', 'Bold', 'Italic'],
102
                        ['NumberedList', 'BulletedList'],
103
                        ['JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock'],
104
                        ['Link', 'Unlink'],
105
                        ['Image',],
106
                        ['RemoveFormat',],
107
                        ['Maximize']],
108
        'toolbar': 'Own',
109
        'resize_enabled': False,
110
    },
111
}
96 112

  
97 113
MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
98 114
MEDIA_URL = '/media/'
99
-