BGSOUND

Last post 10-07-2011, 4:51 PM by Kenneth. 1 replies.
Sort Posts: Previous Next
  •  10-07-2011, 12:54 PM 70317

    BGSOUND

    We have a few users who have reported that CuteDitor is adding a BGSOUND tag at the top of their HTML as you can see in this screenshot:
     
     
    Any idea why CuteEditor is sporadically adding this tag? I have tried reproducing but I am not able to but enough users have reported this problem that I know it's not just user error.
  •  10-07-2011, 4:51 PM 70318 in reply to 70317

    Re: BGSOUND

    Hi frJericho,
     
    Does it happens on special browser/version?
     
    Add the code below to the bottom of the editor page should avoid this problem.
     
    <script type="text/javascript">      
    function CuteEditor_FilterHTML(editor,code)   
    {   
        return code.split('<BGSOUND CEP="0" />').join("");
    }   
    function CuteEditor_FilterCode(editor,code)   
    {   
        return code.split('<BGSOUND CEP="0" />').join("");
    }   
    </script>
     
     
    Regards,
     
    Ken
View as RSS news feed in XML