This is a migrated thread and some comments may be shown as answers.

Problem pasting MS-word content

10 Answers 97 Views
Editor
This is a migrated thread and some comments may be shown as answers.
I. Breukink
Top achievements
Rank 1
I. Breukink asked on 11 Nov 2013, 01:33 PM
I have a editor in an unsorted list (for formatting purposes). When I paste in FireFox, it adds another <li>,  without pasting the content. If I paste a second time, the pasted content will be placed in the new <li>.
 In IE10, I can’t paste at all.

How can I solve this?
 
I have a sample code in http://jsbin.com/UKIZOBi/5/edit  

Thanks

10 Answers, 1 is accepted

Sort by
0
Alexander Popov
Telerik team
answered on 13 Nov 2013, 01:42 PM
Hi Ivor,

I am afraid that currently there is an issue when the Inline editor is used in a list. I have logged this and a fix should be available shortly after the Q3 release (scheduled for late November).
As a small sign of appreciation for bringing this to our attention I have updated your Telerik points.

Regards,
Alexander Popov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Nariman
Top achievements
Rank 1
answered on 28 Nov 2013, 05:51 AM
Hi, we had no problem with copying email contents, rich text and HTML content specially formatted HTML contents with tables, and pasting into HTML Editor in earlier version 2013.2.716 (both IE-10 and Chrome Browser were beautifully ok)!
However, as soon as we upgrade to version 2013.3.1122 yesterday, we have so many problems in pasting contents into HTML Editor.
1. In IE-10 the contents after pasting in the Editor has so many unnecessary line spacing. Also we can no longer paste contents with HTML table (editor does not show it in the table form, just show it in continuous lines with a lots of long line spacing in between lines).
2. In Chrome it's even worse, when we paste the content into the Editor, only partial of the content is being paste (NOT ALL).
Basically, the most beautiful working version of Editor in the previous version (2013.2.716), now in the new version (2013.3.1122) become practically useless!
Please do something about it, as most of our users and online customers are complaining to us on this particular issue since yesterday.
Any solution to quickly solve this tedious problem will be much appreciated.
Thank you.
0
Alex Gyoshev
Telerik team
answered on 28 Nov 2013, 08:29 AM
Hello Nariman,

Please don't repost messages, as it wastes support efforts. I have replied in the thread that you opened about the issue. Posting the same message on different threads may be considered spam and backfire so that you don't get your response fast.

Regards,
Alex Gyoshev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
I. Breukink
Top achievements
Rank 1
answered on 06 Dec 2013, 09:23 AM
Has this issue already been fixed? I saw something mentioned in the "fixed items" but the problem still exists in the latest build in my project.

Thanks,
0
Alex Gyoshev
Telerik team
answered on 09 Dec 2013, 07:51 AM
Hello Ivor,

We have verified that the problem is fixed in the latest builds, with the sample that you provided, in Firefox and IE10. Here is the video of what we tried in Firefox. Can you please verify that the Kendo resources have been updated to the last Q3 internal build, or provide some steps to reproduce if we are testing it wrongly? Also, please note that we have adjusted the editor styles, so that when one goes to a new line, the editor content is resized (by changing the height CSS property to min-height).

Regards,
Alex Gyoshev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
I. Breukink
Top achievements
Rank 1
answered on 20 Dec 2013, 10:24 AM
Hi Alex,

I'm sorry, but still have the same problem. If I use your test-link (as far as i can see) http://jsbin.com/UKIZOBi/13/edit  and I paste something from a word document, i still get a new line and not the video you showed. I first thought it was my problem, and kept testing after your mail in my project but i couldn't find, untill i used the link in your video which still has the same problem. Did you try with text from a word-document? In your demo you just copy something from the left-source code. This works well on my side also, but copy from a word document, or even just paste your reply email, still gets the same old error (new bullet/li etc).

result after paste of your email (in above jsbin)
ul>    <li>
        <div id="tr_toptext_nl" style="display:block">
            <div id="editor" class="editorline" contenteditable="">
                <!--                [if gte mso 9]><xml>
                 <o:OfficeDocumentSettings>
                 …                -->
            </div>
        </div>
    </li>
    <li>
        <div id="tr_toptext_nl" style="display:block">
            <div id="editor" class="editorline" contenteditable="">
                <!--                [if gte mso 9]><xml>
                 <w:WordDocument>
                  <w:View>N…                -->
                <!--                [if gte mso 9]><xml>
                 <w:LatentStyles DefLockedSta…                -->
                <!--                [if gte mso 10]>
                <style>
                 /* Style Definitions */
                …                -->
                <p class="MsoNormal"> … </p>
                <p> … </p>
                <p class="MsoNormal"> … </p>
                <p class="MsoNormal"> … </p>
                <p class="MsoNormal"> … </p>
                <span style="font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-font-family: "Times New Roman";mso-ansi-language:NL;mso-fareast-language:NL;mso-bidi-language: AR-SA"> … </span>
            </div>
        </div>
        <div id="tr_toptext_en" style="display:none">
            <div id="editor2" class="editorline" contenteditable=""></div>
        </div>
    </li></ul>

Can you reproduce this problem on your side also if you paste an email (outlook) or word document?

Thanks

Ivor
0
Alex Gyoshev
Telerik team
answered on 23 Dec 2013, 08:32 AM
Hello Ivor,

Can you please attach a sample Word document that cannot be pasted correctly? This way we will have a test sample that matches your scenario.

Regards,
Alex Gyoshev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
I. Breukink
Top achievements
Rank 1
answered on 06 Jan 2014, 11:34 AM
Hello Alex,

I have enclosed a word document. If you have any questions, please ask. I have tested this with http://jsbin.com/UKIZOBi/13/edit and it is not working on my computer (windows 8.0, with Firefox & IE). 

Thanks,

Ivor
0
I. Breukink
Top achievements
Rank 1
answered on 06 Jan 2014, 11:36 AM
Hello Alex,

I have enclosed a word document. If you have any questions, please ask. I have tested this with http://jsbin.com/UKIZOBi/13/edit  and it is not working on my computer (windows 8.0, with Firefox & IE). 

Thanks,

Ivor

(now with attachments?)
0
Alex Gyoshev
Telerik team
answered on 07 Jan 2014, 12:09 PM
Hello Ivor,

Thank you for the reproduction scenario. The problem is fixed for the next internal build, which should be released by the end of the week.

Regards,
Alex Gyoshev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Editor
Asked by
I. Breukink
Top achievements
Rank 1
Answers by
Alexander Popov
Telerik team
Nariman
Top achievements
Rank 1
Alex Gyoshev
Telerik team
I. Breukink
Top achievements
Rank 1
Share this question
or