无法自定义 django ckeditor 工具栏

Arm*_*nce 4 django toolbar ckeditor django-ckeditor django-1.6

我在django1.6上安装了django-ckeditor==4.4.8

但我在工具栏中得到了最少的按钮,我尝试更改工具栏以获得更多选项,特别是能够添加图片

这就是我得到的:

在此输入图像描述

这些是我的设置:

#ckeditor settings
CKEDITOR_UPLOAD_PATH = "images/"
CKEDITOR_IMAGE_BACKEND = 'pillow'
CKEDITOR_JQUERY_URL = '//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js'

AWS_QUERYSTRING_AUTH = False
CKEDITOR_CONFIGS = {
'default': {
    'toolbar':'Full',
},
Run Code Online (Sandbox Code Playgroud)

}


顺便说一句,我想知道当您添加图片然后从文本编辑器删除该图片链接时会发生什么,该图片是否会被删除?

sus*_*lrd 5

尝试将其放入您的设置文件中:

CKEDITOR_CONFIGS = {
   'default': {
       'toolbar_Full': [
            ['Styles', 'Format', 'Bold', 'Italic', 'Underline', 'Strike', 'SpellChecker', 'Undo', 'Redo'],
            ['Link', 'Unlink', 'Anchor'],
            ['Image', 'Flash', 'Table', 'HorizontalRule'],
            ['TextColor', 'BGColor'],
            ['Smiley', 'SpecialChar'], ['Source'],
            ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
            ['NumberedList','BulletedList'],
            ['Indent','Outdent'],
            ['Maximize'],
        ],
        'extraPlugins': 'justify,liststyle,indent',
   },
}
Run Code Online (Sandbox Code Playgroud)