Answers for "ckeditor demo in django"

4

ckeditor django

pip install django-ckeditor
Posted by: Guest on January-26-2021
0

making ckeditor django responsive

# your_app/settings.py
CKEDITOR_CONFIGS = {
    'default': {
        'toolbar': 'Custom',
        'toolbar_Custom': [
            ['Bold', 'Italic', 'Underline'],
            ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock'],
            ['Link', 'Unlink'],
            ['RemoveFormat', 'Source']
        ],
        'width': '100%'
    },
}
Posted by: Guest on May-19-2021
0

making ckeditor django responsive

/* main.css */
.django-ckeditor-widget {
  width: 100%;
}
Posted by: Guest on May-19-2021

Python Answers by Framework

Browse Popular Code Answers by Language