Ticket #228 (confirmed New Feature)

Opened 8 years ago

Last modified 4 years ago

Clean HTML function (separate from Clean From Word function)

Reported by: lneville Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:

Description

It would be very useful to have a button that cleaned the HTML currently in the editor. What I mean by cleaning the HTML is having the option to do one or more of the following:

  • removing FONT tags
  • removing CSS Class references (class=".....")
  • removing SPAN tags
  • removing MS Word formatting
  • removing all HTML tags

While the Paste From Word function is very useful for pasting in new content, often it is necessary to clean up an existing document, e.g. to strip out all formatting and get it back to the bare paragraphs, lists and tables.

This function is available in the radEditor with the Format Stripper button (brush icon)- see http://www.telerik.com/demos/aspnet/Editor/Examples/Default/DefaultCS.aspx), and the CuteEditor with the Cleanup HTML button (brush icon) - see http://cutesoft.net/example/general.aspx).

Change History

comment:1 Changed 7 years ago by fredck

  • Milestone set to FCKeditor 3.0

I also believe that a manual cleanup can be useful. It could be implemented in a way that all its logic is placed in the dialog, so this feature would not overload the current editor code.

comment:2 Changed 7 years ago by w.olchawa

  • Keywords Confirmed added

comment:3 Changed 5 years ago by fredck

  • Milestone changed from CKEditor 3.0 to CKEditor 3.x

comment:4 Changed 4 years ago by fredck

  • Milestone CKEditor 3.x deleted

Milestone CKEditor 3.x deleted

Note: See TracTickets for help on using tickets.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy