README.txt 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. ##############################################
  2. ## ONLY if you use ckeditor WITHOUT wysiwyg ##
  3. ##############################################
  4. Installation:
  5. Do the following steps to add video_filter button to the CKEditor toolbar:
  6. 1. Open ckeditor.config.js (in the ckeditor module root)
  7. 2. Scroll down to the end of the file, right before "};" insert:
  8. // Video_filter plugin.
  9. config.extraPlugins += (config.extraPlugins ? ',video_filter' : 'video_filter' );
  10. CKEDITOR.plugins.addExternal('video_filter', Drupal.settings.basePath + Drupal.settings.video_filter.modulepath + '/editors/ckeditor/');
  11. 3. Add button to the toolbar.
  12. 3.1 Go to Configuration -> CKEditor (admin/config/content/ckeditor)
  13. Click "Edit" on the profile you what to use with Linkit.
  14. 3.2 Expand "Editor appearance" and go to "Toolbar".
  15. The button name is: video_filter
  16. For example if you have a toolbar with an array of buttons defined as
  17. follows:
  18. ['Bold','Italic']
  19. simply add the button somewhere in the array:
  20. ['Bold','Italic','video_filter']
  21. (remember the single quotes).