Projet

Général

Profil

« Précédent | Suivant » 

Révision 60ebb1af

Ajouté par Frédéric Péters il y a plus de 7 ans

misc: sync ckeditor settings with combo (#12653)

Voir les différences:

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/'

Formats disponibles : Unified diff