Re: Can we customize HTML tag on cute editor?

  •  09-02-2009, 7:46 AM

    Re: Can we customize HTML tag on cute editor?

    Do I need to do before adding your code in the webpage (mypage.aspx)??
     
    Because, after I add your javascript, it doesnot effect anything.
     
    It seems there is no action occur on the event CuteEditor_FilterHTML()
     
    Following is the code that I add into the page (aspx):
     
    <script>
    function CuteEditor_FilterHTML(editor,code)
    {
      return code.replace(/<(\/?)u(\s|>|\/)/ig, "<$1ins$2");
    }
    function CuteEditor_FilterCode(editor,code)
    {
      return code.replace(/<(\/?)u(\s|>|\/)/ig, "<$1ins$2");
    }

    </script>
View Complete Thread