Answer the question
In order to leave comments, you need to log in
How to make full toolbar in CKEditor in Django?
I'm suffering for a long time, I can't do anything, I have such a toolbar now. I
really don't have a button to add a link.
The site itself is hosted by locum, ckeditor added to the site via ftp, downloaded the version for django from github , took all the settings from the same page. In settings.py I have this:
CKEDITOR_CONFIGS = {
'awesome_ckeditor': {
'toolbar': 'Full',
'width': 900,
}
}
Theoretically, there should be a full toolbar, but no =(
Tried in config.js in the directory with the editor, add the toolbar settings from here , but nothing has changed.I
would be very happy to help!
Answer the question
In order to leave comments, you need to log in
It is necessary to register in the configs those elements that are needed for display.
For example, like this:
CKEDITOR_UPLOAD_PATH = "filer_public/"
CKEDITOR_CONFIGS = {
"default": {
"removePlugins": "stylesheetparser",
'allowedContent': True,
'toolbar_Full': [
['Styles', 'Format', 'Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFormat' ],
['Image', 'Flash', 'Table', 'HorizontalRule'],
['TextColor', 'BGColor'],
['Smiley','sourcearea', 'SpecialChar'],
[ 'Link', 'Unlink', 'Anchor' ],
[ 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote', 'CreateDiv', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock', '-', 'BidiLtr', 'BidiRtl', 'Language' ],
[ 'Source', '-', 'Save', 'NewPage', 'Preview', 'Print', '-', 'Templates' ],
[ 'Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo' ],
[ 'Find', 'Replace', '-', 'SelectAll', '-', 'Scayt' ],
[ 'Maximize', 'ShowBlocks' ]
],
}
}
Once I asked myself a similar question, the solution was found. Link to the question with the answer, maybe it will help. Everything I did, I remember very vaguely :)
On the official website , it seems you can choose a complete set, no?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question