christophernoel / ext-ux-htmleditor-plugins

Automatically exported from code.google.com/p/ext-ux-htmleditor-plugins
0 stars 0 forks source link

Word Paste format is incorrect #12

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. copy some text from word 
2. paste in editor useing Ctrl+v but keep holding Ctrl and release v
3. text is formatted incorrectly

What is the expected output? What do you see instead?
Expected is the following (without the rubbish):
<P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal><I style="mso-bidi-font-style: 
normal"><FONT face=Calibri><SPAN style="LINE-HEIGHT: 115%; FONT-SIZE: 14pt; 
mso-bidi-font-size: 11.0pt">The </SPAN><FONT size=3>quick <B 
style="mso-bidi-font-weight: normal">brown</B> fox jumped <U>over</U> the lazy 
<SPAN style="COLOR: red">dog<?xml:namespace prefix = o ns = 
"urn:schemas-microsoft-com:office:office" 
/><o:p></o:p></SPAN></FONT></FONT></I></P>
<P><BR></FONT></I></P>

What I see is:
<P><I>The quick <B>brown</B> fox jumped <U>over</U> the lazy dog<BR><BR></P>

What version of the product are you using? On what operating system?
0.2

Please provide any additional information below.
My example text loses the size set on the first word ("The"), the color set on 
the last word ("dog")

Original issue reported on code.google.com by meldeso...@gmail.com on 5 Oct 2010 at 1:27

GoogleCodeExporter commented 8 years ago
I have the same problem

Original comment by mavfly@gmail.com on 8 Oct 2010 at 8:47

GoogleCodeExporter commented 8 years ago
I have posted a workaround here:
http://www.sencha.com/forum/showthread.php?72106-Ext.ux.form.HtmlEditor.Plugins&
p=521630#post521630

Original comment by meldeso...@gmail.com on 11 Oct 2010 at 1:48