Menu

#3 HTML CleanUp Plugin

open
nobody
None
5
2005-04-23
2005-04-23
bo74
No

extract to plugins folder add
FCKConfig.Plugins.Add( 'CleanUp', 'en,ru' ) ;
into fckconfig.js

Discussion

  • bo74

    bo74 - 2005-04-23

    HTML CleanUp Plugin

     
  • Sid Highwind

    Sid Highwind - 2005-05-11

    Logged In: YES
    user_id=350886

    i am getting this error with your plugin...

    Error: unterminated character class <
    Source File:
    http://xnet.indianapolismotorspeedway.com/shared/jscripts/fckeditor/editor/plugins/CleanUp/CleanUp.html
    Line: 206, Column: 83
    Source Code:
    CTHTMLCleaner.freeSelectedTags +=
    CTHTMLCleaner.separator +
    oOpt.text.replace(/([<])|([>])|([</])/g,"");

    i am using firefox 1.0.3 with fckeditor_rc_preview.

     
  • Nobody/Anonymous

    Logged In: NO

    I translated your plug-in in french. If you want it, send me a
    mail to bistory_AT_gmail.com :)

     
  • jenzener

    jenzener - 2005-08-18

    Logged In: YES
    user_id=1312594

    has anyone managed to get this excellent plugin working on
    ff yet?

     
  • Alfonso Martinez

    Logged In: YES
    user_id=1356422

    I've made some changes to this plugin in order to make it
    work in firefox, better handling of relative links and the
    spanish translation, but I can't find a way to add it to
    this tracker. Should I mail it to someone or create a new
    plugin "cleanup2" ?

     
  • jenzener

    jenzener - 2005-11-03

    Logged In: YES
    user_id=1312594

    Hi alfonsoml
    Please send me of copy of your version, so I could test it.
    Or you can upload it in the patches-section, or as a new plugin.
    By the way, I've also worked on a version for Firefox, it
    works too. So I could send you a german and a updated french
    translation.
    Cheers Jenzener

     
  • bo74

    bo74 - 2005-11-04

    Logged In: YES
    user_id=1265156

    Hi alfonsoml

    Please send the plug-in changes you made for me to see
    what was corrected and I'll combine them with my version,
    since I've also made several changes in it.

    To jenzener
    Please send translation files to bo@ct-lab.com

    Couldn't find any free time to complete the plug-in, but since I
    can see it became interested for many people, I have to
    finally conclude everything.
    I'll provide finished version of plug-in this weekend

     
  • Mike_Mouse

    Mike_Mouse - 2006-03-16

    Logged In: YES
    user_id=1477153

    Thanks for this fine piece of work. I would like to know
    if anyone has a script to "clean for SQL" - i.e. to
    replace "'" with "`" or the like - to remove / replace the
    things which don't save well into an sql db. My asp script
    fails with this.
    Thanks

     
  • Alfonso Martinez

    Logged In: YES
    user_id=1356422

    I've uploaded the modified plugin as a new one because
    no-one has published an updated version that worked
    crossbrowser.
    The fact is that I stopped using this plugin shortly after
    the changes so I don't know its current state.

    The file can be downloaded here:
    https://sourceforge.net/tracker/index.php?func=detail&aid=1500334&group_id=75348&atid=737639

     
  • bo74

    bo74 - 2006-06-30

    Logged In: YES
    user_id=1265156

    Last version of plugin.

     
  • bo74

    bo74 - 2006-06-30

    HTML CleanUp Plugin (fixed)

     
  • SoulDude

    SoulDude - 2006-07-14

    Logged In: YES
    user_id=1555464

    Thanx m8...this plugin is really good !!!!

     
  • explorer00

    explorer00 - 2006-08-04

    Logged In: YES
    user_id=1408575

    I have a major problem with this plugin. Suppose you've made
    several empty tags in a document (say 5 empty paragraphs)
    and a paragraph with some content. Running the HTML CleanUp
    delivers a nice stripped version, with the empty tags being
    deleted. When I switch to source however, I see the original
    paragraphs with a &nbsp; in it.
    When I then revert to wysiwyg mode, I see the old paragraphs
    again. It looks like switching to source is calling the
    undo-function...

    I also have made a recursive implementation of the empty tag
    cleaner, so that it can handle nested empty tags like
    <p><em></em></p>.

    Both the original and my own implementation suffer from this
    strange behaviour. Are you able to reproduce this odd
    behaviour? [Note: I am using 2.3 build 1054]

     
  • Ryan Smith

    Ryan Smith - 2006-08-08

    Logged In: YES
    user_id=1511651

    FCKing wicked plugin!

    This saved me so many hours of coding - thank you so much.

     
  • StMarcus

    StMarcus - 2007-06-18

    Logged In: YES
    user_id=1783684
    Originator: NO

    Hi,
    Can anyone tell me what is latest release of this plugin? And where can i download it!?
    Is that the one i find here or do i have to search on another thread?
    Thanks a lot!

    Regards, Marcus

     
  • Chenelle Soltau

    Chenelle Soltau - 2009-01-06

    This is pretty neat. I'm new to the plugins. How would I edit this to replace the &sect; with <li> and create an end tag for it as well

     

Log in to post a comment.

Monday.com Logo