I have additional JS files for a custom CKEditor plugin. I'm loading it via the container module using drupal_add_js in $form['prerender] which is obviously not firing for the edit module. I suspect this is probably not the best way to load it, but just in case it is, does Edit module provide any means to load additional JS files, preferably loaded as the quick edit is activated?

Thanks!

Comments

Wim Leers’s picture

Title: Is there a conventional way to load addition JS file includes for CKEditor plugins? » How to load a custom CKEditor plugin?
Project: Edit » CKEditor 4 - WYSIWYG HTML editor
  1. You should never use drupal_add_js(), you should use #attached :)
  2. CKEditor plugins must be loaded by CKEditor, not by Drupal. Hence this question belongs in the CKEditor module's issue queue.

I suspect this question is already answered by ckeditor.module's documentation though :)

carn1x’s picture

Yeah now reading it I don't understand why I felt Edit queue was the best place for it, thanks very much for the advice though :)

muschpusch’s picture

Status: Active » Closed (duplicate)

#2423259: Wont load my custom plugin trying to clean up the custom plugin issues.