#3003: Parse HTML data on input
-----------------------+----------------------------------------------------
Reporter: fredck | Owner:
Type: Bug | Status: new
Priority: Normal | Milestone: CKEditor 3.0
Component: General | Version:
Keywords: Confirmed |
-----------------------+----------------------------------------------------
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:
{{{
<strong>
<table>
<tr>
<td>Test</td>
</tr>
</table>
</strong>
}}}
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.
--
Ticket URL: <http://dev.fckeditor.net/ticket/3003>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac