I am using Django-ckeditor-updated to build a CMS and I'm trying to use the Ckeditor youtube plugin(http://ckeditor.com/addon/youtube), but it is not appearing in the toolbar.
I've downloaded the plugin to the ckeditor plugins folder, then edited the CKEDITOR_CONFIGS
in settings.py
to display youtube plugin, but it is not working. Any ideas?
CKEDITOR_CONFIGS = {
'default': {
'toolbar': 'CMS',
'toolbar_CMS': [
{
'name': 'basicstyles',
'groups': ['basicstyles', 'cleanup'],
'items': ['Bold', 'Italic', 'Underline', '-', 'RemoveFormat']
},
{
'name': 'paragraph',
'groups': ['list', 'indent', 'blocks'],
'items': ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote']
},
{
'name': 'links',
'items': ['Link', 'Unlink']
},
{
'name': 'insert',
'items': ['Image', 'HorizontalRule', 'Table', 'Iframe', ]
},
{
'name': 'colors',
'items': ['TextColor', 'BGColor']
},
{
'name': 'youtube',
'items': ['youtube',]
}
],
'height': 400,
'width': '100%',
'allowedContent': True,
'uiColor': '#f0f0f0',
'extraPlugins': 'link,iframe,colorbutton,autogrow,youtube',
'autoGrow_maxHeight': 800,
'autoGrow_minHeight': 400,
'removePlugins': 'resize',
'removeButtons': None,
'contentsCss': ['/static/css/news_show.css', '/static/css/cke.css'],
},
}
It was just a silly mistake.
{
'name': 'youtube',
'items': ['Youtube',]
}
the y in youtube item must be in uppercase.