From b5d1878ba68aa6a90732526ff6ebea1db5d4ded9 Mon Sep 17 00:00:00 2001 From: Christian Thieme Date: Wed, 18 Mar 2015 13:24:15 +0100 Subject: [PATCH 1/2] readme update on toolbar configuration --- README.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.rst b/README.rst index 07ab61b..d8cbb84 100644 --- a/README.rst +++ b/README.rst @@ -87,6 +87,19 @@ Optional }, } + It is possible to create a custom toolbar :: + + CKEDITOR_CONFIGS = { + 'default': { + 'toolbar': 'Custom', + 'toolbar_Custom': [ + ['Bold', 'Italic', 'Underline'], + ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock'], + ['Link', 'Unlink'], + ['RemoveFormat', 'Source'] + ] + } + } Usage ----- From ba6166f562d5c9bde4b6b70a2c92611b20eac4d5 Mon Sep 17 00:00:00 2001 From: Christian Thieme Date: Wed, 18 Mar 2015 13:25:22 +0100 Subject: [PATCH 2/2] indentation fix --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index d8cbb84..ac56b73 100644 --- a/README.rst +++ b/README.rst @@ -87,7 +87,7 @@ Optional }, } - It is possible to create a custom toolbar :: + It is possible to create a custom toolbar :: CKEDITOR_CONFIGS = { 'default': {