diff --git editors/ckeditor.inc editors/ckeditor.inc index 2e10346..8e24b8e 100644 --- editors/ckeditor.inc +++ editors/ckeditor.inc @@ -314,6 +314,7 @@ function wysiwyg_ckeditor_plugins($editor) { 'SelectAll' => t('Select all'), 'Find' => t('Search'), 'Replace' => t('Replace'), 'Flash' => t('Flash'), 'Smiley' => t('Smiley'), 'CreateDiv' => t('Div container'), + 'Iframe' => t('iFrame'), 'Maximize' => t('Maximize'), 'SpellChecker' => t('Check spelling'), 'Scayt' => t('Check spelling as you type'), 'About' => t('About'), @@ -325,6 +326,9 @@ function wysiwyg_ckeditor_plugins($editor) { if (version_compare($editor['installed version'], '3.1.0.4885', '<')) { unset($plugins['default']['buttons']['CreateDiv']); } + if (version_compare($editor['installed version'], '3.5.0.6260', '<')) { + unset($plugins['default']['buttons']['Iframe']); + } return $plugins; }