http://docs.ckeditor.com/#!/api/CKEDITOR.config
正如上面的API文档所说,如果language为空,则ckeditor将显示默认语言所具有的语言。但我的申请表显示英语。在
我的代码:
CKEDITOR_CONFIGS = {
'default': {
'toolbar': 'Custom',
'toolbar_Custom': [
[ 'Bold', 'Italic', 'Underline', 'Strike' ],
[ 'NumberedList', 'BulletedList', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock'],
[ 'Table', 'HorizontalRule', 'Smiley'],
[ 'Format', 'Font', 'FontSize' ],
[ 'TextColor', 'BGColor' ],
],
'width' : '100%',
'defaultLanguage' : 'ko',
'language' : '',
}
}
我该怎么办?在
Django-CKEDITOR实际上通过使用设置.py的语言设置。您需要确保启用以下所有设置:
相关问题 更多 >
编程相关推荐