Automate the CodeCleaner

  •  06-04-2006, 9:54 PM

    Automate the CodeCleaner

    Can we get the CodeCleaner to be automated onPaste ??

    At the moment I have 2 requirements for the editor.

    1. On paste, remove ALL HTML. The resulting pasted content should be PURE text. This should be included in any editor.

    2. On paste, remove all Word markup, Span & Font tags. This is necessary for any content management style systems where you want the CMS to manage styles & fonts.

    However, I cannot do either of these things right now.

    Yet, the Code-Cleaner can do both Manually. Of course, I cannot expect my users to have to do a manual process when the editor should do it automatically.

    How can I get the editor to Automatically do what the code-cleaner does when pasting content?

    Thanks.

View Complete Thread