Opened 8 years ago

Closed 8 years ago

#3003 closed Bug (fixed)

Parse HTML data on input

Reported by: fredck Owned by: fredck
Priority: Normal Milestone: CKEditor 3.0
Component: General Version:
Keywords: Confirmed Cc:


The editor is currently taking the input HTML as is, doing lots of string processing (regexes mostly) and them loading it into the editing area.

There are occasions when we have buggy HTML being loaded though causing use problem. For example, it's not possible to remove the bold style for the "Test" word in the following case:


We should use the HTML parser to "fix" the HTML before loading. The parser should also be used on the paste dialogs, insertHtml (with optional parameter to avoid it), or any function that accepts data from the outside.

Also, by using the "parsing filters", proposed with #3002, we could avoid all the regexes and special manipulation we have today, making it also easily customizable by plugins or external code.

Change History (3)

comment:1 Changed 8 years ago by fredck

  • Owner set to fredck

comment:2 Changed 8 years ago by fredck

  • Status changed from new to assigned

This feature is being introduced by the patch proposed at #3002.

comment:3 Changed 8 years ago by fredck

  • Resolution set to fixed
  • Status changed from assigned to closed

Fixed with [3172].

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