Re: CleanUpMicrosoftwordHTML() does'nt do any thing on my editor text. Please help urgent !!

  •  11-03-2008, 2:39 PM

    Re: CleanUpMicrosoftwordHTML() does'nt do any thing on my editor text. Please help urgent !!

     
     Thanks Adam for the reply. I appreciate your help on this.
     
       Our whole production team has struck here. We can't proceed further. We are facing lot of issues with the users today.
     
      Can you help me in writing the code to clean up all the inline styles and Css classes ?
     
       I want the exact functionality of CleanUp Tool (brush icon) of the toolbar with option 'Remove WordSpecific Markup'
     
      How can I acheive this ? I know I should write a regular expression but I am very poor in it. I want to call your javascript function of CleanUp Tool on the client.  I have gone through the cutesoft  javascript file Dialog_Clean.js which has javascript function "Codecleaner(editor)"
     
     
     This is the way I want to do in server side in C#.Net 2.0
     
      private  string CustomCleanHTML(editor1.text)
     
     {
            //here I should write the code for removing inline styles and Css classes.
     
           
     
            return strCleanText;
       
     }
     
     
     
View Complete Thread