CKEditor widgets list updated. CSS classe preset added for DIV element

Closes #5576
This commit is contained in:
Serghei Mihai 2014-10-01 15:01:52 +02:00
parent a9a8454ea7
commit ee62f27e70
2 changed files with 29 additions and 0 deletions

View File

@ -377,3 +377,27 @@ if SENTRY_DSN is not None:
'class': 'raven.contrib.django.raven_compat.handlers.SentryHandler',
}
LOGGING['loggers']['']['handlers'].append('sentry')
CKEDITOR_SETTINGS = {
'toolbar': [
['Undo', 'Redo'],
['Format', 'Styles', 'Font', 'FontSize'],
['CreateDiv', 'Link', 'Unlink', 'Anchor'],
['cmsplugins'],
['Source', '-', 'Maximize', 'ShowBlocks'],
'/',
['Bold', 'Italic', 'Underline', '-', 'Subscript', 'Superscript', '-', 'RemoveFormat'],
['JustifyLeft', 'JustifyCenter', 'JustifyRight'],
['HorizontalRule'],
['TextColor', 'BGColor', '-', 'PasteText', 'PasteFromWord'],
['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Table'],
],
'stylesSet': [{
'name': 'Portail Citoyen block',
'element': 'div',
'attributes': {
'class': 'portail-citoyen-block'
}
}]
}

View File

@ -992,3 +992,8 @@ p.fullname {
display: inline;
margin-right: 1.5em;
}
.portail-citoyen-block {
border: 1px solid #aaa;
padding: .2em;
}