Created
August 6, 2016 22:47
-
-
Save khchine5/900dfcb726f8285aba8ee1070cefe323 to your computer and use it in GitHub Desktop.
djangocms text ckeditor: Active all options of ckeditor as Font selection , image insertion.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CKEDITOR_SETTINGS = { | |
'language': '{{ language }}', | |
'skin': 'moono', | |
'toolbar_HTMLField': [ | |
['Source', '-', 'Save', 'NewPage', 'DocProps', 'Preview', 'Print', '-', 'Templates'], | |
['Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo'], | |
['Find', 'Replace', '-', 'SelectAll', '-', 'SpellChecker', 'Scayt'], | |
['Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', | |
'HiddenField'], | |
['Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFormat'], | |
['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote', 'CreateDiv', '-', | |
'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock', '-', 'BidiLtr', 'BidiRtl'], | |
['Link', 'Unlink', 'Anchor'], | |
['Image', 'Flash', 'Table', 'HorizontalRule', 'Smiley', 'SpecialChar', 'PageBreak'], | |
['Styles', 'Format', 'Font', 'FontSize'], | |
['TextColor', 'BGColor'], | |
['Maximize', 'ShowBlocks', '-', 'About'] | |
], | |
'toolbarCanCollapse': True, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment