Closed (fixed)
Project:
CKEditor Link
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
6 Jun 2011 at 11:12 UTC
Updated:
20 Jun 2011 at 14:31 UTC
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_link_ckeditor_plugin() {
return array(
'ckeditor_link' => array(
// Name of the plugin used to write it
'name' => 'drupal_path',
// Description of plugin - it would appear in plugins managment of profile settings
'desc' => t('Support for CKEditor Link module'),
// The full path to the CKEditor plugin directory, with trailing slash.
'path' => drupal_get_path('module', 'ckeditor_link') . '/plugins/link/',
)
);
}
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: is simply adding this OK or do I need to remove some code elsewhere?Comment #2
anrikun commentedCommitted to 7.x-2.x.
Committed to 7.x-1.x.
Comment #3
anrikun commentedCommitted to 6.x-2.x.
Committed to 6.x-1.x.