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

Zeros are trimmed

2 Answers 58 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Ronald
Top achievements
Rank 1
Ronald asked on 07 Mar 2016, 10:45 AM
Hi,

At our company we created and maintain a large ASP.NET application which makes extensive use of the Telerik Rad controls. We use version 2013.3.1015.40.

Currently we run into an issue with the RadEditor. It occurs in Internet Explorer 11 which is mainly used by one of our customers. If a line starts or ends with zeros (0) and the user presses enter, then those zeros are trimmed. It is very easy to reproduce in an empty web application project.

Steps to reproduce:
 Step 1: Type first line starting with a zero or/and ending with a zero.
 Step 2: Press ENTER to move to the second line
 Step 3: See the zeros disappear in the first line.

We also tried it with the latest version of the Rad controls and there the problem does not occur.

We are aware that we are using an older version, but for our product it suits fine. We are afraid that replacing the Rad controls with the latest version will introduce new bugs or styling issues in our product. It would require a huge amount of QA work and probably a lot of rework.

Can you please help us out? It seems like such a minor issue in the JavaScript code. Maybe you can provide us with a work around or a hotfix. We would greatly appreciate that.

Thanks,
Ronald

2 Answers, 1 is accepted

Sort by
0
Accepted
Niko
Telerik team
answered on 08 Mar 2016, 01:06 PM

Hello Ronald,

You could try the following workaround:

<script type="text/javascript">
    Telerik.Web.UI.Editor.Utils.trimWhitespace = function () { }
</script>

The idea is to override the faulty implementation of the trimWhitespace method.

Hope this helps.

Regards,
Niko
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
Ronald
Top achievements
Rank 1
answered on 08 Mar 2016, 03:03 PM
Thanks a lot Niko!
Tags
Editor
Asked by
Ronald
Top achievements
Rank 1
Answers by
Niko
Telerik team
Ronald
Top achievements
Rank 1
Share this question
or