array( // Name of the plugin used to write it. 'name' => 'plugin_name', // Description of the plugin - it would be displayed in the plugins management section of profile settings. 'desc' => t('Plugin description'), // The full path to the CKEditor plugins directory, with the trailing slash. 'path' => drupal_get_path('module', 'my_module') . '/plugin_dir/', 'buttons' => array( 'button_name' => array( 'icon' => 'path to button icon', 'label' => 'Button Label', ) ) ) ); } /** * Hook to extend CKEditor security allowed tags list. * * This hook is invoked from ckeditor_filter_xss() where text is filtered from potentially insecure tags. */ function hook_ckeditor_filter_xss_allowed_tags() { // Return an array of additional allowed tags }