With last version of CKEditor DEV module we add new feature that helps to integrate with it by hook.
So if u can, pls add following lines to your module in D6 and D7 version:
/**
* Implementation of hook_ckeditor_plugin().
*/
function ckeditor_swf_ckeditor_plugin() {
return array(
'ckeditor_swf' => array(
// Name of the plugin used to write it
'name' => 'swf',
// Description of plugin - it would appear in plugins managment of profile settings
'desc' => t('Support for CKEditor SWF module'),
// The full path to the CKEditor plugin directory, with trailing slash.
'path' => drupal_get_path('module', 'ckeditor_swf') . '/plugins/swf/',
)
);
}
This works only with DEV version of CKEditor module from 6-Jun-2011 and will be released with stable version asap.
Greetings
Comments
Comment #1
anrikun commented@dczepierga:
I have just tried the last dev of CKEditor and it seems that CKEditor SWF (and CKEditor Link) are listed as available plugins even without adding the hook implementation above.
Won't adding this result in CKEditor SWF being listed twice?
Comment #2
anrikun commentedWon't adding this result in CKEditor SWF being listed twice?
It doesn't seem so.
Committed to 6.x-2.x!
Comment #3
anrikun commentedCommitted to 7.x-1.x too.