Skip to content

Commit ff0e072

Browse files
author
Shaun Sephton
committed
test toolbar configs
1 parent b00276f commit ff0e072

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

project/settings.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,3 +154,19 @@
154154

155155
CKEDITOR_MEDIA_PREFIX = "/media/ckeditor/"
156156
CKEDITOR_UPLOAD_PATH = PATH + "/media/uploads"
157+
158+
CKEDITOR_CONFIGS = {
159+
'basic': {
160+
'toolbar': 'Basic',
161+
},
162+
'full': {
163+
'toolbar': 'Full',
164+
},
165+
'custom': {
166+
'toolbar': [
167+
['Bold','Italic','Underline',],
168+
'/',
169+
['Styles','Format','Font','FontSize',],
170+
],
171+
},
172+
}

0 commit comments

Comments
 (0)