I am trying to use the FilterHTML function, the code does not appear to be getting executed. Below is the snippet. I am wondering if I am missing something or need to activate something. Any suggestions? Thanks.
function CuteEditor_FilterHTML(editor,code)
{
return code.replace(/(<a href=[^\>]*\>)([\s\S]*)(\<\/a\>)/i, "$2");
}
function CuteEditor_FilterCode(editor,code)
{
return code.replace(/(<a href=[^\>]*\>)([\s\S]*)(\<\/a\>)/i, "$2");
}