Hey everyone,
I've been trying to allow iframes in CKEditor by adding them to the toolbar. I've been making changes to the config.js (couch/includes/ckeditor/) with zero results.
I added this block of code within the CKEDITOR.editorConfig function, but it doesn't appear to do anything.
Looking around in the couch folder I noticed scripts.php (addons/inline/view) defines a bunch of toolbars for CKEditor, but changing those also did not seem to have any effect.
If you have any ideas, please let me know!
Thanks,
Sam
I've been trying to allow iframes in CKEditor by adding them to the toolbar. I've been making changes to the config.js (couch/includes/ckeditor/) with zero results.
I added this block of code within the CKEDITOR.editorConfig function, but it doesn't appear to do anything.
- Code: Select all
config.toolbar = [
[ 'Bold', 'Italic', 'Underline', 'Strike', '-', 'Subscript', 'Superscript' ],
[ 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock' ],
[ 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', 'Blockquote' ],
[ 'Undo', 'Redo', 'RemoveFormat' ],
'/',
[ 'Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord' ],
[ 'Image', 'Table', 'Iframe', 'HorizontalRule', 'Smiley', 'SpecialChar' ],
[ 'Link', 'Unlink', 'Anchor' ],
'/',
[ 'Styles', 'Format', 'Font', 'FontSize' ],
[ 'TextColor', 'BGColor' ],
[ 'inlinesave']
];
Looking around in the couch folder I noticed scripts.php (addons/inline/view) defines a bunch of toolbars for CKEditor, but changing those also did not seem to have any effect.
If you have any ideas, please let me know!
Thanks,
Sam