Thanks for this module!

But when I update CKEditor module using drush file ckeditor.config.js is rewritten. And I should manually copy settings for video_filter plugin.

You can make settings in a different place or register plugin in CK with standard way? I.e. in CK settings "Custom JavaScript configuration" or use function hook_ckeditor_plugin()?

Added "Custom JavaScript configuration" has no effect.

Comments

vvs’s picture

I added this code in video_filter.module, but CKE not working:

/**
 * Implementation of hook_ckeditor_plugin().
 */
function video_filter_ckeditor_plugin() {
  return array('video_filter' => array(
    'name' => 'video_filter',
    'desc' => t('Plugin for inserting video tags with video_filter.'),
    'path' => drupal_get_path('module', 'video_filter') . '/editors/ckeditor/',
    'buttons' => array(
      'video_filter' => array(
        'icon' => drupal_get_path('module', 'video_filter') .'/editors/ckeditor/video_filter.png',
        'label' => t('Video filter'),
      ),
    ),
    'url' => 'http://drupal.org/project/video_filter',
    'load' => TRUE,
  ));
}

TypeError: m is null in ckeditor.js line 208

markhalliwell’s picture

Status: Active » Closed (duplicate)