Redactor callback on link creation
Permalink
Hi,
is there a chance to hook into the event when a file link was created with redactor?
I need this to add custom attributes to the anchor so a javascript can grab these donwload links.
Does anyone know a way to achieve that?
Best,
Marcus
is there a chance to hook into the event when a file link was created with redactor?
I need this to add custom attributes to the anchor so a javascript can grab these donwload links.
Does anyone know a way to achieve that?
Best,
Marcus
Here is the code from redactor.js that is involved in launching the file manager. Maybe you can use this to point you in the right direction.