Skip to content

Commit 5c85a1f

Browse files
committed
Fewer editor features on admin
1 parent 65f50a7 commit 5c85a1f

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

main/settings.py

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -265,27 +265,23 @@
265265
'selector': 'textarea',
266266
'theme': 'modern',
267267
'plugins': '''
268-
textcolor save link image media preview codesample contextmenu
269-
table code lists fullscreen insertdatetime nonbreaking
270-
contextmenu directionality searchreplace wordcount visualblocks
271-
visualchars code fullscreen autolink lists charmap print hr
272-
anchor pagebreak
268+
anchor autolink charmap code codesample contextmenu directionality
269+
fullscreen hr image insertdatetime link lists media nonbreaking
270+
pagebreak preview print save searchreplace table textcolor
271+
visualblocks visualchars
273272
''',
274273
'toolbar1': '''
275-
bold italic underline fontsizeselect
274+
bold italic underline superscript subscript fontsizeselect
276275
| forecolor | alignleft alignright | aligncenter alignjustify
277276
| indent outdent | bullist numlist |
278277
| link visualchars charmap hr nonbreaking | code preview fullscreen
279278
''',
280-
'toolbar2': '''
281-
media embed
282-
''',
283279
'force_p_newlines': True,
284280
'force_br_newlines': True,
285281
'forced_root_block': '',
286282
'contextmenu': 'formats | link',
287-
'menubar': True,
288-
'statusbar': True,
283+
'menubar': False,
284+
'statusbar': False,
289285
# https://www.tiny.cloud/docs/configure/content-filtering/#invalid_styles
290286
'invalid_styles': {
291287
'*': 'opacity' # Global invalid style

0 commit comments

Comments
 (0)