#1818: Editor shuffles content
-----------------------------+----------------------------------------------
Reporter: alexanderv | Type: Bug
Status: new | Priority: Normal
Milestone: | Component: General
Version: FCKeditor 2.4.3 | Keywords: clipboard copy&paste invalid html
-----------------------------+----------------------------------------------
Browser: IE 7, OS: Windows 2003
When inserting formatted data from some applications (including Eclipse,
Visual Studio,...) via the clipboard, FCKeditor may rearrange these data
and render them useless.
It seems that the call to execCommand('Paste') produces invalid HTML that
FCKeditor, in contrast to browsers, cannot handle.
This phenomenon can be studied by with the sample below. Paste it into the
source view of FCKeditor and switch between source and HTML view. More
complex input leads to more stunning results.
-----------snip-----------
<p>
<font color="#008000" size="2">
<p>//-------------------------------------------------------</p>
<p>// ABOVE</p>
<p>//-------------------------------------------------------</p>
</font>
<p>BELOW</p>
</p>
--
Ticket URL: <http://dev.fckeditor.net/ticket/1818>
FCKeditor <http://www.fckeditor.net>
The text editor for Internet
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac