Django:如何使用 Django 将 ckeditor 插件添加到我的项目中

Django: how to add ckeditor plugins to my project using django

我想向我的 ckeditor django 添加一些插件,我已经使用 pip 安装了该软件包,将其安装在 settings.py 中并且现在可以正常工作,但我想向 ckeditor 添加更多按钮现在有粗体、对齐、媒体、表情符号等等,但我需要一些功能,如代码片段等。所以我应该在哪里添加我从文档 https://django-ckeditor.readthedocs.io/en/latest/#installation

复制的这些插件
a11yhelp, about, adobeair, ajax, autoembed, autogrow, autolink, bbcode, clipboard, codesnippet,
codesnippetgeshi, colordialog, devtools, dialog, div, divarea, docprops, embed, embedbase,
embedsemantic, filetools, find, flash, forms, iframe, iframedialog, image, image2, language,
lineutils, link, liststyle, magicline, mathjax, menubutton, notification, notificationaggregator,
pagebreak, pastefromword, placeholder, preview, scayt, sharedspace, showblocks, smiley,
sourcedialog, specialchar, stylesheetparser, table, tableresize, tabletools, templates, uicolor,
uploadimage, uploadwidget, widget, wsc, xml

查看示例配置和 extraPlugins:https://django-ckeditor.readthedocs.io/en/latest/#example-ckeditor-configuration

CKEDITOR_CONFIGS = {
    'default': {
        'skin': 'moono',
        # 'skin': 'office2013',
        'toolbar_Basic': [
            ['Source', '-', 'Bold', 'Italic']
        ],

...

        'tabSpaces': 4,
        'extraPlugins': ','.join([
            'uploadimage', # the upload image feature
            # your extra plugins here
            'div',
            'autolink',
            'autoembed',
            'embedsemantic',
            'autogrow',
            # 'devtools',
            'widget',
            'lineutils',
            'clipboard',
            'dialog',
            'dialogui',
            'elementspath'
        ]),
    }
}