Django CKEditor toolbar settings Django CKEditor toolbar settings django django

Django CKEditor toolbar settings


I just found full toolbar settings on CKEditor docs here: Full toolbar configuration

To create editor instance with full toolbar you don't have to set anything. Just leave toolbar and toolbarGroups with the default, null values.

So django-ckeditor config will be,

CKEDITOR_CONFIGS = {    'default': {        'toolbar': None,    },}

And it works :)


heres a snippet from my django ckeditor toolbar settings. Its not full but you should be able to add to it to get what you want.

 'toolbar': [["Format", "Bold", "Italic", "Underline", "Strike", "SpellChecker"],                ['NumberedList', 'BulletedList', "Indent", "Outdent", 'JustifyLeft', 'JustifyCenter',                 'JustifyRight', 'JustifyBlock'],                ["Image", "Table", "Link", "Unlink", "Anchor", "SectionLink", "Subscript", "Superscript"], ['Undo', 'Redo'], ["Source"],                ["Maximize"]],

On a separate note, id recommend using the native javascript ckeditor if possible in your django propject. Ive been using the django version for a while now and its proving top be a serious headache for your reason mentioned above among other reasons.


You can config the toolbar by yourself just by adding, moving or removing the elements.

Just Check Here.

enter image description here