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.
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
Comment #1
Wim Leersdrupal_add_js()
, you should use#attached
:)I suspect this question is already answered by ckeditor.module's documentation though :)
Comment #2
carn1x CreditAttribution: carn1x commentedYeah 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 :)
Comment #3
muschpusch CreditAttribution: muschpusch at Factorial GmbH commented#2423259: Wont load my custom plugin trying to clean up the custom plugin issues.