I added tinymce4-lite
in my Django application.
(我在Django应用程序中添加了tinymce4-lite
。)
The size of icons looks the same in bigger screens and small screens. (在大屏幕和小屏幕上,图标的大小看起来相同。)
Big Screens:
(大屏幕:)
Small Screens:
(小屏幕:)
the size of icons are similar in either big and small screens.
(无论大屏幕还是小屏幕,图标的大小都是相似的。)
I want it to be smaller and more elegant in mobile size screens. (我希望它在移动尺寸屏幕上更小,更优雅。)
This is the configuration in settings.py
:
(这是settings.py
的配置:)
TINYMCE_DEFAULT_CONFIG = {
'height': 360,
'menubar': False,
'statusbar': False,
'width': '100%',
'cleanup_on_startup': True,
'custom_undo_redo_levels': 20,
'selector': 'textarea',
'theme': 'modern',
'plugins': '''
textcolor save link image media preview codesample contextmenu
table code lists fullscreen insertdatetime nonbreaking
contextmenu directionality searchreplace wordcount visualblocks
visualchars code fullscreen autolink lists charmap print hr
anchor pagebreak
''',
'toolbar1': '''
fullscreen preview bold italic underline | fontselect,
fontsizeselect | forecolor backcolor | alignleft alignright |
aligncenter alignjustify | bullist numlist table |
| link image media | codesample | hr visualchars |
''',
'contextmenu': 'formats | link image',
'remove_linebreaks': False
}
Please help me with this.
(请帮我解决一下这个。)
Thank you (谢谢)
ask by Basir Payenda translate from so 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…