Opened 17 years ago

Last modified 14 years ago

#228 confirmed New Feature

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 (4)

comment:1 Changed 17 years ago by Frederico Caldeira Knabben

Milestone: 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 16 years ago by Wojciech Olchawa

Keywords: Confirmed added

comment:3 Changed 15 years ago by Frederico Caldeira Knabben

Milestone: CKEditor 3.0CKEditor 3.x

comment:4 Changed 14 years ago by Frederico Caldeira Knabben

Milestone: CKEditor 3.x

Milestone CKEditor 3.x deleted

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy