Re: Can we customize HTML tag on cute editor?

  •  09-02-2009, 1:11 AM

    Re: Can we customize HTML tag on cute editor?

    Am I wrong??
     
    After I read your recommend article , I try to adding script following on the aspx page:
     
    I expect when I click [u] toolbar, tag <u> should be removed.
     
    But it does not effect anything.
     
    <script>
    function CuteEditor_FilterHTML(editor,code) {  
    return code.replace(/(<u[^\>]*\>)([\s\S]*)(\<\/u\>)/i, "$2");
    }
    function CuteEditor_FilterCode(editor,code) {  
    return code.replace(/(<u[^\>]*\>)([\s\S]*)(\<\/u\>)/i, "$2"); }
    </script>







View Complete Thread