Completed
Last Updated: 10 Aug 2021 15:39 by ADMIN
Anthony
Created on: 16 Jan 2014 07:46
Category: Editor
Type: Bug Report
1
RadEditor - IE11 - MSWord: Spurious p tags within LI from word
Hi,

Browser : IE11
Telerik version : 2013.3.1114.40 - Q3 2013 release

Steps to reproduce the issue :
1 . Copy ordered list from MS WORD 2010
2.  Paste it in RadEditor
3.  View html markup in radeditor

Each text within LI tag is wrapped by P tag and this issue occurs only in IE11 browser.

Ideally ,p tags should be stripped off.

Looking forward to your response.

Thanks in advance,
Anthony




1 comment
ADMIN
Rumen
Posted on: 10 Aug 2021 15:39

The problem was resolved by Microsoft in their new MS Edge browser based on Google Chrome. 

IE is about to be discontinued but if you still want to handle this scenario, you can attach to the OnClientPasteHtml client event of RadEditor, check for the Paste command execution, and strip the paragraphs by obtaining the clipboard content via the args.get_value() method and inserting it via the args.set_value() one.

 

Regards,
Rumen
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.