Change toolbar configΒΆ
More settings can be found on the official sitehttps://quilljs.com/docs/modules/toolbar/
Add QUILL_CONFIGS
to the settings.py
QUILL_CONFIGS = {
'default':{
'theme': 'snow',
'modules': {
'syntax': True,
'toolbar': [
[
{'font': []},
{'header': []},
{'align': []},
'bold', 'italic', 'underline', 'strike', 'blockquote',
{'color': []},
{'background': []},
],
['code-block', 'link'],
['clean'],
]
}
}
}