Calling javascript on design mode

Posted by Community Admin on 04-Aug-2018 15:36

Calling javascript on design mode

All Replies

Posted by Community Admin on 16-Jul-2012 00:00
Hi,

We have a javascript that obfuscates email links all around our pages. Our problem is that on design mode after inserting the email link using a Content Block control it doesn't deobfuscate the email immediately. See attached screen shot. 

We're wondering if there's a way where we can call our javascript method as soon as we've updated the content, after clicking save button of the Content Block control.

Thank you,
Ernest
Posted by Community Admin on 17-Jul-2012 00:00
Bump

Would just like to know if theres a global method that we could override to quickly call a javascript function. After a control designer has been saved (regardless of whether or not its a content block), is there a method that we can inject javascript into to call? I know this could probably be done manually by overriding the designer, but, i'd like to avoid that if possible.
This thread is closed