Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 linkit_ckeditor_plugin() {
return array(
'linkit' => array(
// Name of the plugin used to write it
'name' => 'Linkit',
// Description of plugin - it would appear in plugins managment of profile settings
'desc' => t('Support for Linkit module'),
// The full path to the CKEditor plugin directory, with trailing slash.
'path' => drupal_get_path('module', 'linkit') . '/editors/ckeditor/',
)
);
}
This works only with DEV version of CKEditor module from 6-Jun-2011 and will be released with stable version asap.
Greetings
Comment | File | Size | Author |
---|---|---|---|
#5 | 1179926-5-7x1x.patch | 864 bytes | anon |
Comments
Comment #1
anonIm assign myself to this.
Comment #2
dczepierga CreditAttribution: dczepierga commentedIt should works without problem with linkit 6.x-1.x and 7.x-1.x, both with last DEV version of CKEditor module - now linkit is detected by our module for users using older versions of module, but in the future we remove this detection and will be only hook for this.
Greetings
Comment #3
anonAdded this to 6.x-1-x and 7.x-2.x (NOT 7.x-1.x as this will soon be unsupported).
Comment #5
anonI have commit this patch to 7.x-1.x.