This is a migrated thread and some comments may be shown as answers.
OnClientPasteHTML misfiring
3 Answers 5 Views
This is a migrated thread and some comments may be shown as answers.
Heath
Top achievements
Rank 1
Heath asked on 16 Jun 2015, 12:16 PM

I've implemented StripFormattingOptions and StripFormattingOnPaste (set to AllExceptNewLines) to strip formatting and OnClientPasteHTML to display an alert to the user that the formatting is being stripped from the pasted text. This works fine in IE and Firefox, but in Chrome and Safari the OnClientPasteHTML also fires when the user hits the Enter key while in the Rad Editor.

 

Has anybody else seen this behavior and what can I do to resolve it (other than removing the alert)?

3 Answers, 1 is accepted

Sort by
0
Ianko
Telerik team
answered on 18 Jun 2015, 02:48 PM
Hello,

Using this online demo (http://demos.telerik.com/aspnet-ajax/editor/examples/clientsideevents/defaultcs.aspx), I am unable to see the OnClientPasteHtml to be fired when Enter key is pressed.

Are there any customization regarding RadEditor's functionality or specific configuration that leads to the described behavior? 

Regards,
Ianko
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Heath
Top achievements
Rank 1
answered on 22 Jun 2015, 07:52 PM
No customizations, other than having the StripFormattingOptions property set to "AllExceptNewLines". We are using an older version of the Telerik controls (version 2012.3.1016.40).
0
Ianko
Telerik team
answered on 23 Jun 2015, 06:53 AM
Hi,

I suggest you upgrading with the most recent version of Telerik UI for ASP.NET AJAX available and re-test the scenario.

Regards,
Ianko
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Asked by
Heath
Top achievements
Rank 1
Answers by
Ianko
Telerik team
Heath
Top achievements
Rank 1
Share this question
or