From 75298d99745d9f5c1705a5fa84fa05c4ca89c944 Mon Sep 17 00:00:00 2001 From: Serghei Mihai Date: Thu, 21 Dec 2017 17:03:35 +0100 Subject: [PATCH] ckeditor: add note in available formats (#20864) --- combo/settings.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/combo/settings.py b/combo/settings.py index 1c5b3c5..a653f2d 100644 --- a/combo/settings.py +++ b/combo/settings.py @@ -168,6 +168,8 @@ CKEDITOR_CONFIGS = { 'default': { 'allowedContent': True, 'removePlugins': 'stylesheetparser', + 'format_note': {'name': _('Note'), 'element': 'div', 'attributes': {'class': 'note'}}, + 'format_tags': 'p;h1;h2;h3;h4;h5;h6;note;pre;address;div', 'toolbar_Own': [['Source', 'Format', '-', 'Bold', 'Italic'], ['NumberedList', 'BulletedList'], ['JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock'], -- 2.15.1