CKEditor widgets list updated. CSS classe preset added for DIV element
Closes #5576
This commit is contained in:
parent
a9a8454ea7
commit
ee62f27e70
|
@ -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'
|
||||
}
|
||||
}]
|
||||
}
|
||||
|
|
|
@ -992,3 +992,8 @@ p.fullname {
|
|||
display: inline;
|
||||
margin-right: 1.5em;
|
||||
}
|
||||
|
||||
.portail-citoyen-block {
|
||||
border: 1px solid #aaa;
|
||||
padding: .2em;
|
||||
}
|
Reference in New Issue