summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Thieme <christian.thieme@outlook.com>2015-03-18 12:24:15 (GMT)
committerChristian Thieme <christian.thieme@outlook.com>2015-03-18 12:24:15 (GMT)
commitb5d1878ba68aa6a90732526ff6ebea1db5d4ded9 (patch)
treeae45e982fe7f95563c97c8f7be4911c583740200
parent6480f33679f8a61ea2411112f3dd301813208fbe (diff)
downloaddjango-ckeditor-b5d1878ba68aa6a90732526ff6ebea1db5d4ded9.zip
django-ckeditor-b5d1878ba68aa6a90732526ff6ebea1db5d4ded9.tar.gz
django-ckeditor-b5d1878ba68aa6a90732526ff6ebea1db5d4ded9.tar.bz2
readme update on toolbar configuration
-rw-r--r--README.rst13
1 files changed, 13 insertions, 0 deletions
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
-----