We have tried to copy text from MSWord to Infragistics WebHtmlEditor and there are problems when using lists: A list in MSWord is copied to WebHtmlEditor and it is represented in html as "<p>" not as "<ol>" or "<ul>".
Example:
In MSWord (some nested lists):
1. First item
a. subitem A
b. subitem B
2. Second item
Copy-paste in WebHtmlEditor, the html generated is:
<p>1. First item</p>
<p style="margin:0 0 0 72pt">a. subitem A</p>
...
We have detected this problem in IE10 or less, and also in Chrome. In IE11 it works properly.
We are using Infragistics v14.2
Please could you help us with this issue?
Regards
I am facing below issues with Infragiatics WebHtmlEditor 14.2, are some of these have been resolved in latest version (17.2)?
1. Copying and pasting content from Word to body of text section does not paste exactly as it should.2. Cannot easily add or update bullets3. Line Spacing is an issue sometimes do not align as they should4. Underlining content sometimes works5. Font is totally different in the actual email sent vs. what was saved6. Cannot easily add a box with text7. Indenting adding tabs sometimes work8. Font and Size in the drop down should display Microsoft Font Names and Font Sizes should display 8, 9, 10, 11, 12 and so on...9. After entering body of text details, when you click on the Preview pop-up the body of text image appears different not a mirror image as well as the end product is also different
Hello,
Clipboard access varies quite a bit between browsers ( JavaScript is by security design usually denied access, except IE that has an option to allow it) – which is to say usually the paste happens through system shortcuts like ctrl-V which is totally dependent on what HTML word puts in the clipboard and how the browser handles it.
The behaviors you are seeing is actually new, it’s more in the lines of “Pasting Word HTML never really generated good markup before” and apparently there is some extra handling added to IE11 to handle pasting rich text. This is again not even related to the control and affects other web apps and content coming from other editors (VS comes to mind).
There might be a way to fix the content right before the action finishes executing but be warned it’s possibly quite a feat, especially I you attempt more than one formatting type support.
Regards,
Damyan Petev
Associate Software Developer
Infragistics, Inc.