Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
40
Paragraphs from MS word showing different line breaks
posted

Hello,

While developing web page with infragistics 15.2 WebHtmlEditor, with ASP.NET , I encountered an issue with copying paragraphs from MS Word in to editor. When we type in editor it would not put space between paragraphs (after we press enter) but when we copy a paragraph from MS Word it would show space (not a new line) between paragraphs.

And when we get the TextXhtml from editor, it would show different type of html tags for paragraphs. The paragraphs typed from editor are in <div></div> tags but paragraphs copied from MS word are within <p></p> tags which are again inside one <div></div> tag.

Ex: 

<div>Typed from editor</div>

<div>Typed from editor</div>

<div><p>copied from MS word</p><p>Copied from MS word</p></div>

 

Let me know if this can be make act same for both scenarios.

Thanks 

Parents Reply Children
No Data